mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-20 18:05:21 -06:00
Consolidated a bunch of static classes
This commit is contained in:
parent
cf6a86e926
commit
774d382816
260 changed files with 4163 additions and 4536 deletions
|
|
@ -6,79 +6,9 @@ import org.openrs2.deob.annotation.Pc;
|
|||
|
||||
public final class Static202 {
|
||||
|
||||
@OriginalMember(owner = "client!qg", name = "U", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_891 = JagString.parse("");
|
||||
|
||||
@OriginalMember(owner = "client!qg", name = "Y", descriptor = "[I")
|
||||
@OriginalMember(owner = "client!qg", name = "Y", descriptor = "[I")
|
||||
public static final int[] cameraFrequency = new int[5];
|
||||
|
||||
@OriginalMember(owner = "client!qg", name = "a", descriptor = "(Lsignlink!ll;Lclient!wa;IB)V")
|
||||
public static void method3654(@OriginalArg(0) SignLink arg0, @OriginalArg(1) Buffer arg1, @OriginalArg(2) int arg2) {
|
||||
@Pc(17) ReflectionCheck local17 = new ReflectionCheck();
|
||||
local17.anInt1725 = arg1.g1();
|
||||
local17.anInt1732 = arg1.g4();
|
||||
local17.aClass212Array1 = new PrivilegedRequest[local17.anInt1725];
|
||||
local17.anIntArray138 = new int[local17.anInt1725];
|
||||
local17.aByteArrayArrayArray6 = new byte[local17.anInt1725][][];
|
||||
local17.aClass212Array2 = new PrivilegedRequest[local17.anInt1725];
|
||||
local17.anIntArray139 = new int[local17.anInt1725];
|
||||
local17.anIntArray137 = new int[local17.anInt1725];
|
||||
for (@Pc(59) int local59 = 0; local59 < local17.anInt1725; local59++) {
|
||||
try {
|
||||
@Pc(71) int local71 = arg1.g1();
|
||||
@Pc(93) String local93;
|
||||
@Pc(104) String local104;
|
||||
@Pc(95) int local95;
|
||||
if (local71 == 0 || local71 == 1 || local71 == 2) {
|
||||
local93 = new String(arg1.gjstr().method3148());
|
||||
local95 = 0;
|
||||
local104 = new String(arg1.gjstr().method3148());
|
||||
if (local71 == 1) {
|
||||
local95 = arg1.g4();
|
||||
}
|
||||
local17.anIntArray139[local59] = local71;
|
||||
local17.anIntArray137[local59] = local95;
|
||||
local17.aClass212Array2[local59] = arg0.getDeclaredField(local104, Static6.method85(local93));
|
||||
} else if (local71 == 3 || local71 == 4) {
|
||||
local93 = new String(arg1.gjstr().method3148());
|
||||
local104 = new String(arg1.gjstr().method3148());
|
||||
local95 = arg1.g1();
|
||||
@Pc(171) String[] local171 = new String[local95];
|
||||
for (@Pc(173) int local173 = 0; local173 < local95; local173++) {
|
||||
local171[local173] = new String(arg1.gjstr().method3148());
|
||||
}
|
||||
@Pc(193) byte[][] local193 = new byte[local95][];
|
||||
@Pc(210) int local210;
|
||||
if (local71 == 3) {
|
||||
for (@Pc(199) int local199 = 0; local199 < local95; local199++) {
|
||||
local210 = arg1.g4();
|
||||
local193[local199] = new byte[local210];
|
||||
arg1.gBytes(local210, local193[local199]);
|
||||
}
|
||||
}
|
||||
local17.anIntArray139[local59] = local71;
|
||||
@Pc(234) Class[] local234 = new Class[local95];
|
||||
for (local210 = 0; local210 < local95; local210++) {
|
||||
local234[local210] = Static6.method85(local171[local210]);
|
||||
}
|
||||
local17.aClass212Array1[local59] = arg0.getDeclaredMethod(Static6.method85(local93), local234, local104);
|
||||
local17.aByteArrayArrayArray6[local59] = local193;
|
||||
}
|
||||
} catch (@Pc(269) ClassNotFoundException local269) {
|
||||
local17.anIntArray138[local59] = -1;
|
||||
} catch (@Pc(276) SecurityException local276) {
|
||||
local17.anIntArray138[local59] = -2;
|
||||
} catch (@Pc(283) NullPointerException local283) {
|
||||
local17.anIntArray138[local59] = -3;
|
||||
} catch (@Pc(290) Exception local290) {
|
||||
local17.anIntArray138[local59] = -4;
|
||||
} catch (@Pc(297) Throwable local297) {
|
||||
local17.anIntArray138[local59] = -5;
|
||||
}
|
||||
}
|
||||
Static204.aClass69_113.addTail(local17);
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!qg", name = "a", descriptor = "(IZI)V")
|
||||
public static void setVarbitClient(@OriginalArg(0) int arg0, @OriginalArg(2) int arg1) {
|
||||
@Pc(7) VarbitType local7 = VarbitTypeList.get(arg0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue