mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-17 08:25:14 -06:00
Rename Class3_Sub1_* to TextureOp*
This commit is contained in:
parent
cb08770f85
commit
371d689b2a
36 changed files with 102 additions and 102 deletions
33
client/src/main/java/TextureOp26.java
Normal file
33
client/src/main/java/TextureOp26.java
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
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!rj")
|
||||
public final class TextureOp26 extends TextureOp {
|
||||
|
||||
@OriginalMember(owner = "client!rj", name = "<init>", descriptor = "()V")
|
||||
public TextureOp26() {
|
||||
super(0, true);
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!rj", name = "c", descriptor = "(III)I")
|
||||
private int method3769(@OriginalArg(0) int arg0, @OriginalArg(2) int arg1) {
|
||||
@Pc(19) int local19 = arg1 + arg0 * 57;
|
||||
@Pc(25) int local25 = local19 ^ local19 << 1;
|
||||
return 4096 - (local25 * (local25 * local25 * 15731 + 789221) + 1376312589 & Integer.MAX_VALUE) / 262144;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!rj", name = "a", descriptor = "(IB)[I")
|
||||
@Override
|
||||
public final int[] method4626(@OriginalArg(0) int arg0) {
|
||||
@Pc(15) int[] local15 = this.aClass121_41.method3445(arg0);
|
||||
if (this.aClass121_41.aBoolean221) {
|
||||
@Pc(27) int local27 = Static64.anIntArray153[arg0];
|
||||
for (@Pc(29) int local29 = 0; local29 < Static189.anInt4457; local29++) {
|
||||
local15[local29] = this.method3769(local27, Static173.anIntArray367[local29]) % 4096;
|
||||
}
|
||||
}
|
||||
return local15;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue