Created TypeList classes and moved static members to them

This commit is contained in:
Pazaz 2022-04-25 02:11:03 -04:00
parent 6ba1f2f808
commit b3a5fdbec9
356 changed files with 6604 additions and 6652 deletions

View file

@ -4,20 +4,12 @@ import org.openrs2.deob.annotation.Pc;
public final class Static24 {
@OriginalMember(owner = "client!bn", name = "N", descriptor = "Lclient!be;")
public static Component component;
@OriginalMember(owner = "client!bn", name = "O", descriptor = "I")
public static int anInt761;
@OriginalMember(owner = "client!bn", name = "eb", descriptor = "I")
public static int anInt773 = 0;
@OriginalMember(owner = "client!bn", name = "c", descriptor = "(II)V")
public static void method666() {
Static232.aClass99_30.method3102(5);
}
@OriginalMember(owner = "client!bn", name = "a", descriptor = "(III)I")
public static int method667(@OriginalArg(0) int arg0, @OriginalArg(2) int arg1) {
@Pc(8) int local8 = 0;
@ -35,9 +27,9 @@ public final class Static24 {
@Pc(11) int local11 = 0;
@Pc(22) short[] local22 = new short[16];
@Pc(28) int local28 = arg0 ? 32768 : 0;
@Pc(36) int local36 = (arg0 ? Static34.anInt1047 : Static144.anInt3490) + local28;
@Pc(36) int local36 = (arg0 ? QuickChatPhraseTypeList.anInt1047 : QuickChatPhraseTypeList.anInt3490) + local28;
for (@Pc(38) int local38 = local28; local38 < local36; local38++) {
@Pc(45) QuickChatPhraseType local45 = Static230.method3953(local38);
@Pc(45) QuickChatPhraseType local45 = QuickChatPhraseTypeList.get(local38);
if (local45.aBoolean60 && local45.method769().toLowerCase().indexOf(local9) != -1) {
if (local11 >= 50) {
Static111.anInt2905 = -1;
@ -59,7 +51,7 @@ public final class Static24 {
Static67.anInt3356 = 0;
@Pc(113) JagString[] local113 = new JagString[Static111.anInt2905];
for (@Pc(115) int local115 = 0; local115 < Static111.anInt2905; local115++) {
local113[local115] = Static230.method3953(local22[local115]).method769();
local113[local115] = QuickChatPhraseTypeList.get(local22[local115]).method769();
}
Static202.method3656(local113, Static169.aShortArray52);
}