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
64
client/src/main/java/Class3_Sub1_Sub21.java
Normal file
64
client/src/main/java/Class3_Sub1_Sub21.java
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
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!mg")
|
||||
public final class Class3_Sub1_Sub21 extends Class3_Sub1 {
|
||||
|
||||
@OriginalMember(owner = "client!mg", name = "R", descriptor = "I")
|
||||
private int anInt3812 = 4096;
|
||||
|
||||
@OriginalMember(owner = "client!mg", name = "Z", descriptor = "I")
|
||||
private int anInt3816 = 4096;
|
||||
|
||||
@OriginalMember(owner = "client!mg", name = "X", descriptor = "I")
|
||||
private int anInt3815 = 4096;
|
||||
|
||||
@OriginalMember(owner = "client!mg", name = "<init>", descriptor = "()V")
|
||||
public Class3_Sub1_Sub21() {
|
||||
super(1, false);
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!mg", 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.anInt3816 = arg1.method2163();
|
||||
} else if (arg0 == 1) {
|
||||
this.anInt3812 = arg1.method2163();
|
||||
} else if (arg0 == 2) {
|
||||
this.anInt3815 = arg1.method2163();
|
||||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!mg", name = "b", descriptor = "(II)[[I")
|
||||
@Override
|
||||
public final int[][] method4638(@OriginalArg(1) int arg0) {
|
||||
@Pc(16) int[][] local16 = this.aClass103_41.method3173(arg0);
|
||||
if (this.aClass103_41.aBoolean195) {
|
||||
@Pc(27) int[][] local27 = this.method4634(arg0, 0);
|
||||
@Pc(31) int[] local31 = local27[0];
|
||||
@Pc(35) int[] local35 = local27[1];
|
||||
@Pc(39) int[] local39 = local27[2];
|
||||
@Pc(43) int[] local43 = local16[1];
|
||||
@Pc(47) int[] local47 = local16[0];
|
||||
@Pc(51) int[] local51 = local16[2];
|
||||
for (@Pc(53) int local53 = 0; local53 < Static189.anInt4457; local53++) {
|
||||
@Pc(64) int local64 = local31[local53];
|
||||
@Pc(68) int local68 = local35[local53];
|
||||
@Pc(72) int local72 = local39[local53];
|
||||
if (local64 == local72 && local68 == local72) {
|
||||
local47[local53] = this.anInt3816 * local64 >> 12;
|
||||
local43[local53] = local72 * this.anInt3812 >> 12;
|
||||
local51[local53] = local68 * this.anInt3815 >> 12;
|
||||
} else {
|
||||
local47[local53] = this.anInt3816;
|
||||
local43[local53] = this.anInt3812;
|
||||
local51[local53] = this.anInt3815;
|
||||
}
|
||||
}
|
||||
}
|
||||
return local16;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue