mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-11 17:10:24 -07:00
92 lines
3 KiB
Java
92 lines
3 KiB
Java
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!gg")
|
|
public final class Class3_Sub1_Sub13 extends TextureOp {
|
|
|
|
@OriginalMember(owner = "client!gg", name = "V", descriptor = "I")
|
|
private int anInt2220 = 4;
|
|
|
|
@OriginalMember(owner = "client!gg", name = "R", descriptor = "I")
|
|
private int anInt2216 = 4;
|
|
|
|
@OriginalMember(owner = "client!gg", name = "<init>", descriptor = "()V")
|
|
public Class3_Sub1_Sub13() {
|
|
super(1, false);
|
|
}
|
|
|
|
@OriginalMember(owner = "client!gg", name = "a", descriptor = "(ILclient!wa;Z)V")
|
|
@Override
|
|
public final void method4629(@OriginalArg(0) int arg0, @OriginalArg(1) Buffer arg1) {
|
|
if (arg0 == 0) {
|
|
this.anInt2220 = arg1.method2229();
|
|
} else if (arg0 == 1) {
|
|
this.anInt2216 = arg1.method2229();
|
|
}
|
|
}
|
|
|
|
@OriginalMember(owner = "client!gg", 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(28) int local28 = Static189.anInt4457 / this.anInt2220;
|
|
@Pc(33) int local33 = Static172.anInt4165 / this.anInt2216;
|
|
@Pc(44) int[] local44;
|
|
@Pc(50) int local50;
|
|
if (local33 <= 0) {
|
|
local44 = this.method4624(0, 0);
|
|
} else {
|
|
local50 = arg0 % local33;
|
|
local44 = this.method4624(0, Static172.anInt4165 * local50 / local33);
|
|
}
|
|
for (local50 = 0; local50 < Static189.anInt4457; local50++) {
|
|
if (local28 <= 0) {
|
|
local19[local50] = local44[0];
|
|
} else {
|
|
@Pc(80) int local80 = local50 % local28;
|
|
local19[local50] = local44[Static189.anInt4457 * local80 / local28];
|
|
}
|
|
}
|
|
}
|
|
return local19;
|
|
}
|
|
|
|
@OriginalMember(owner = "client!gg", name = "b", descriptor = "(II)[[I")
|
|
@Override
|
|
public final int[][] method4638(@OriginalArg(1) int arg0) {
|
|
@Pc(18) int[][] local18 = this.aClass103_41.method3173(arg0);
|
|
if (this.aClass103_41.aBoolean195) {
|
|
@Pc(28) int local28 = Static189.anInt4457 / this.anInt2220;
|
|
@Pc(33) int local33 = Static172.anInt4165 / this.anInt2216;
|
|
@Pc(49) int[][] local49;
|
|
if (local33 > 0) {
|
|
@Pc(39) int local39 = arg0 % local33;
|
|
local49 = this.method4634(local39 * Static172.anInt4165 / local33, 0);
|
|
} else {
|
|
local49 = this.method4634(0, 0);
|
|
}
|
|
@Pc(61) int[] local61 = local49[0];
|
|
@Pc(65) int[] local65 = local49[2];
|
|
@Pc(69) int[] local69 = local18[0];
|
|
@Pc(73) int[] local73 = local49[1];
|
|
@Pc(77) int[] local77 = local18[1];
|
|
@Pc(81) int[] local81 = local18[2];
|
|
for (@Pc(83) int local83 = 0; local83 < Static189.anInt4457; local83++) {
|
|
@Pc(94) int local94;
|
|
if (local28 <= 0) {
|
|
local94 = 0;
|
|
} else {
|
|
@Pc(100) int local100 = local83 % local28;
|
|
local94 = local100 * Static189.anInt4457 / local28;
|
|
}
|
|
local69[local83] = local61[local94];
|
|
local77[local83] = local73[local94];
|
|
local81[local83] = local65[local94];
|
|
}
|
|
}
|
|
return local18;
|
|
}
|
|
}
|