mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-12 01:21:23 -07:00
Initial deob and project structure
This commit is contained in:
commit
e2d5c0a1e0
671 changed files with 108157 additions and 0 deletions
74
client/src/main/java/Class3_Sub1_Sub10.java
Normal file
74
client/src/main/java/Class3_Sub1_Sub10.java
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
import org.openrs2.deob.annotation.OriginalArg;
|
||||
import org.openrs2.deob.annotation.OriginalClass;
|
||||
import org.openrs2.deob.annotation.OriginalMember;
|
||||
import org.openrs2.deob.annotation.Pc;
|
||||
|
||||
@OriginalClass("client!fh")
|
||||
public final class Class3_Sub1_Sub10 extends Class3_Sub1 {
|
||||
|
||||
@OriginalMember(owner = "client!fh", name = "jb", descriptor = "I")
|
||||
private int anInt2007 = 1024;
|
||||
|
||||
@OriginalMember(owner = "client!fh", name = "db", descriptor = "I")
|
||||
private int anInt2001 = 2048;
|
||||
|
||||
@OriginalMember(owner = "client!fh", name = "eb", descriptor = "I")
|
||||
private int anInt2002 = 3072;
|
||||
|
||||
@OriginalMember(owner = "client!fh", name = "<init>", descriptor = "()V")
|
||||
public Class3_Sub1_Sub10() {
|
||||
super(1, false);
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!fh", name = "a", descriptor = "(ILclient!wa;Z)V")
|
||||
@Override
|
||||
public final void method4629(@OriginalArg(0) int arg0, @OriginalArg(1) Class3_Sub15 arg1) {
|
||||
if (arg0 == 0) {
|
||||
this.anInt2007 = arg1.method2163();
|
||||
} else if (arg0 == 1) {
|
||||
this.anInt2002 = arg1.method2163();
|
||||
} else if (arg0 == 2) {
|
||||
this.aBoolean309 = arg1.method2229() == 1;
|
||||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!fh", name = "a", descriptor = "(IB)[I")
|
||||
@Override
|
||||
public final int[] method4626(@OriginalArg(0) int arg0) {
|
||||
@Pc(19) int[] local19 = this.aClass121_41.method3445(arg0);
|
||||
if (this.aClass121_41.aBoolean221) {
|
||||
@Pc(30) int[] local30 = this.method4624(0, arg0);
|
||||
for (@Pc(32) int local32 = 0; local32 < Static189.anInt4457; local32++) {
|
||||
local19[local32] = this.anInt2007 + (local30[local32] * this.anInt2001 >> 12);
|
||||
}
|
||||
}
|
||||
return local19;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!fh", name = "b", descriptor = "(II)[[I")
|
||||
@Override
|
||||
public final int[][] method4638(@OriginalArg(1) int arg0) {
|
||||
@Pc(7) int[][] local7 = this.aClass103_41.method3173(arg0);
|
||||
if (this.aClass103_41.aBoolean195) {
|
||||
@Pc(17) int[][] local17 = this.method4634(arg0, 0);
|
||||
@Pc(21) int[] local21 = local17[1];
|
||||
@Pc(25) int[] local25 = local17[2];
|
||||
@Pc(29) int[] local29 = local17[0];
|
||||
@Pc(33) int[] local33 = local7[0];
|
||||
@Pc(37) int[] local37 = local7[1];
|
||||
@Pc(41) int[] local41 = local7[2];
|
||||
for (@Pc(43) int local43 = 0; local43 < Static189.anInt4457; local43++) {
|
||||
local33[local43] = this.anInt2007 + (this.anInt2001 * local29[local43] >> 12);
|
||||
local37[local43] = (this.anInt2001 * local21[local43] >> 12) + this.anInt2007;
|
||||
local41[local43] = this.anInt2007 + (this.anInt2001 * local25[local43] >> 12);
|
||||
}
|
||||
}
|
||||
return local7;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!fh", name = "e", descriptor = "(I)V")
|
||||
@Override
|
||||
public final void method4630() {
|
||||
this.anInt2001 = this.anInt2002 - this.anInt2007;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue