mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-20 13:30:30 -07:00
55 lines
1.8 KiB
Java
55 lines
1.8 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!tb")
|
|
public final class TextureOp31 extends TextureOp {
|
|
|
|
@OriginalMember(owner = "client!tb", name = "<init>", descriptor = "()V")
|
|
public TextureOp31() {
|
|
super(1, false);
|
|
}
|
|
|
|
@OriginalMember(owner = "client!tb", name = "a", descriptor = "(IB)[I")
|
|
@Override
|
|
public final int[] method4626(@OriginalArg(0) int arg0) {
|
|
@Pc(7) int[] local7 = this.aClass121_41.method3445(arg0);
|
|
if (this.aClass121_41.aBoolean221) {
|
|
@Pc(21) int[] local21 = this.method4624(0, arg0);
|
|
for (@Pc(23) int local23 = 0; local23 < Static189.anInt4457; local23++) {
|
|
local7[local23] = 4096 - local21[local23];
|
|
}
|
|
}
|
|
return local7;
|
|
}
|
|
|
|
@OriginalMember(owner = "client!tb", name = "a", descriptor = "(ILclient!wa;Z)V")
|
|
@Override
|
|
public final void method4629(@OriginalArg(0) int arg0, @OriginalArg(1) Buffer arg1) {
|
|
if (arg0 == 0) {
|
|
this.aBoolean309 = arg1.method2229() == 1;
|
|
}
|
|
}
|
|
|
|
@OriginalMember(owner = "client!tb", 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 = this.method4634(arg0, 0);
|
|
@Pc(32) int[] local32 = local28[2];
|
|
@Pc(36) int[] local36 = local28[0];
|
|
@Pc(40) int[] local40 = local28[1];
|
|
@Pc(44) int[] local44 = local18[0];
|
|
@Pc(48) int[] local48 = local18[1];
|
|
@Pc(52) int[] local52 = local18[2];
|
|
for (@Pc(54) int local54 = 0; local54 < Static189.anInt4457; local54++) {
|
|
local44[local54] = 4096 - local36[local54];
|
|
local48[local54] = 4096 - local40[local54];
|
|
local52[local54] = 4096 - local32[local54];
|
|
}
|
|
}
|
|
return local18;
|
|
}
|
|
}
|