mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-09 16:45:46 -07:00
75 lines
2.8 KiB
Java
75 lines
2.8 KiB
Java
import org.openrs2.deob.annotation.OriginalArg;
|
|
import org.openrs2.deob.annotation.OriginalMember;
|
|
import org.openrs2.deob.annotation.Pc;
|
|
|
|
public final class Static155 {
|
|
|
|
@OriginalMember(owner = "client!me", name = "nb", descriptor = "I")
|
|
public static int anInt3751;
|
|
|
|
@OriginalMember(owner = "client!me", name = "k", descriptor = "I")
|
|
public static int anInt3718 = -1;
|
|
|
|
@OriginalMember(owner = "client!me", name = "P", descriptor = "[I")
|
|
public static final int[] varcs = new int[2000];
|
|
|
|
@OriginalMember(owner = "client!me", name = "a", descriptor = "(IB)V")
|
|
public static void method2940(@OriginalArg(0) int arg0) {
|
|
Static217.anInt4901 = -1;
|
|
if (arg0 == 37) {
|
|
Static138.aFloat14 = 3.0F;
|
|
} else if (arg0 == 50) {
|
|
Static138.aFloat14 = 4.0F;
|
|
} else if (arg0 == 75) {
|
|
Static138.aFloat14 = 6.0F;
|
|
} else if (arg0 == 100) {
|
|
Static138.aFloat14 = 8.0F;
|
|
} else if (arg0 == 200) {
|
|
Static138.aFloat14 = 16.0F;
|
|
}
|
|
Static217.anInt4901 = -1;
|
|
}
|
|
|
|
@OriginalMember(owner = "client!me", name = "a", descriptor = "(ZLclient!na;I)V")
|
|
public static void method2941(@OriginalArg(0) boolean arg0, @OriginalArg(1) JagString arg1) {
|
|
@Pc(8) short[] local8 = new short[16];
|
|
@Pc(12) JagString local12 = arg1.method3114();
|
|
@Pc(14) int local14 = 0;
|
|
for (@Pc(16) int local16 = 0; local16 < Static170.anInt3245; local16++) {
|
|
@Pc(27) ObjType local27 = Static71.method1439(local16);
|
|
if ((!arg0 || local27.aBoolean132) && local27.anInt2358 == -1 && local27.anInt2334 == -1 && local27.anInt2370 == 0 && local27.aClass100_495.method3114().method3131(local12) != -1) {
|
|
if (local14 >= 250) {
|
|
Static169.aShortArray52 = null;
|
|
Static111.anInt2905 = -1;
|
|
return;
|
|
}
|
|
if (local14 >= local8.length) {
|
|
@Pc(83) short[] local83 = new short[local8.length * 2];
|
|
for (@Pc(85) int local85 = 0; local85 < local14; local85++) {
|
|
local83[local85] = local8[local85];
|
|
}
|
|
local8 = local83;
|
|
}
|
|
local8[local14++] = (short) local16;
|
|
}
|
|
}
|
|
Static169.aShortArray52 = local8;
|
|
Static67.anInt3356 = 0;
|
|
Static111.anInt2905 = local14;
|
|
@Pc(117) JagString[] local117 = new JagString[Static111.anInt2905];
|
|
for (@Pc(119) int local119 = 0; local119 < Static111.anInt2905; local119++) {
|
|
local117[local119] = Static71.method1439(local8[local119]).aClass100_495;
|
|
}
|
|
Static202.method3656(local117, Static169.aShortArray52);
|
|
}
|
|
|
|
@OriginalMember(owner = "client!me", name = "a", descriptor = "(II)I")
|
|
public static int method2945(@OriginalArg(1) int arg0) {
|
|
@Pc(13) Class85 local13 = Static125.method2449(arg0);
|
|
@Pc(16) int local16 = local13.anInt3327;
|
|
@Pc(19) int local19 = local13.anInt3323;
|
|
@Pc(22) int local22 = local13.anInt3318;
|
|
@Pc(29) int local29 = Class3_Sub9.anIntArray135[local19 - local22];
|
|
return Static7.anIntArray75[local16] >> local22 & local29;
|
|
}
|
|
}
|