project: Rev 204
This commit is contained in:
@@ -3,110 +3,117 @@ import net.runelite.mapping.Implements;
|
||||
import net.runelite.mapping.ObfuscatedGetter;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
import net.runelite.rs.ScriptOpcodes;
|
||||
|
||||
@ObfuscatedName("fy")
|
||||
@ObfuscatedName("gj")
|
||||
@Implements("HitSplatDefinition")
|
||||
public class HitSplatDefinition extends DualNode {
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lkq;"
|
||||
descriptor = "Llq;"
|
||||
)
|
||||
@Export("HitSplatDefinition_archive")
|
||||
public static AbstractArchive HitSplatDefinition_archive;
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lic;"
|
||||
descriptor = "Llq;"
|
||||
)
|
||||
@Export("HitSplatDefinition_fontsArchive")
|
||||
public static AbstractArchive HitSplatDefinition_fontsArchive;
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Liq;"
|
||||
)
|
||||
@Export("HitSplatDefinition_cached")
|
||||
static EvictingDualNodeHashTable HitSplatDefinition_cached;
|
||||
@ObfuscatedName("r")
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lic;"
|
||||
descriptor = "Liq;"
|
||||
)
|
||||
@Export("HitSplatDefinition_cachedSprites")
|
||||
static EvictingDualNodeHashTable HitSplatDefinition_cachedSprites;
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lic;"
|
||||
descriptor = "Liq;"
|
||||
)
|
||||
@Export("HitSplatDefinition_cachedFonts")
|
||||
static EvictingDualNodeHashTable HitSplatDefinition_cachedFonts;
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 94930249
|
||||
intValue = 1926287649
|
||||
)
|
||||
@Export("fontId")
|
||||
int fontId;
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 686766047
|
||||
intValue = -1728432001
|
||||
)
|
||||
@Export("textColor")
|
||||
public int textColor;
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -2105047485
|
||||
)
|
||||
public int field1944;
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1942953281
|
||||
)
|
||||
int field1953;
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1147561849
|
||||
)
|
||||
int field1954;
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1759102975
|
||||
)
|
||||
int field1955;
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1125972115
|
||||
)
|
||||
int field1956;
|
||||
@ObfuscatedName("d")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1621904885
|
||||
)
|
||||
public int field1957;
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -2049678163
|
||||
intValue = 670201833
|
||||
)
|
||||
public int field1952;
|
||||
@ObfuscatedName("f")
|
||||
public int field2025;
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1036282431
|
||||
intValue = -2088614137
|
||||
)
|
||||
public int field1959;
|
||||
@ObfuscatedName("g")
|
||||
String field1960;
|
||||
@ObfuscatedName("t")
|
||||
int field2018;
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -2045691497
|
||||
intValue = -1486126739
|
||||
)
|
||||
public int field1961;
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1085768131
|
||||
)
|
||||
public int field1958;
|
||||
int field2015;
|
||||
@ObfuscatedName("b")
|
||||
@Export("transforms")
|
||||
public int[] transforms;
|
||||
@ObfuscatedGetter(
|
||||
intValue = 463403451
|
||||
)
|
||||
int field2014;
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1913451591
|
||||
)
|
||||
int field2003;
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1607995829
|
||||
)
|
||||
public int field2016;
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 304686181
|
||||
)
|
||||
public int field2017;
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 686533415
|
||||
)
|
||||
public int field2005;
|
||||
@ObfuscatedName("y")
|
||||
String field2019;
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -2018519527
|
||||
intValue = -731376779
|
||||
)
|
||||
public int field2020;
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1728160459
|
||||
)
|
||||
public int field2021;
|
||||
@ObfuscatedName("t")
|
||||
@Export("transforms")
|
||||
public int[] transforms;
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1797964889
|
||||
)
|
||||
@Export("transformVarbit")
|
||||
int transformVarbit;
|
||||
@ObfuscatedName("ap")
|
||||
@ObfuscatedName("ac")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1546252907
|
||||
intValue = 602971365
|
||||
)
|
||||
@Export("transformVarp")
|
||||
int transformVarp;
|
||||
@@ -120,25 +127,25 @@ public class HitSplatDefinition extends DualNode {
|
||||
HitSplatDefinition() {
|
||||
this.fontId = -1; // L: 26
|
||||
this.textColor = 16777215; // L: 27
|
||||
this.field1944 = 70; // L: 28
|
||||
this.field1953 = -1; // L: 29
|
||||
this.field1954 = -1; // L: 30
|
||||
this.field1955 = -1; // L: 31
|
||||
this.field1956 = -1; // L: 32
|
||||
this.field1957 = 0; // L: 33
|
||||
this.field1952 = 0; // L: 34
|
||||
this.field1959 = -1; // L: 35
|
||||
this.field1960 = ""; // L: 36
|
||||
this.field1961 = -1; // L: 37
|
||||
this.field1958 = 0; // L: 38
|
||||
this.field2025 = 70; // L: 28
|
||||
this.field2018 = -1; // L: 29
|
||||
this.field2015 = -1; // L: 30
|
||||
this.field2014 = -1; // L: 31
|
||||
this.field2003 = -1;
|
||||
this.field2016 = 0;
|
||||
this.field2017 = 0;
|
||||
this.field2005 = -1;
|
||||
this.field2019 = "";
|
||||
this.field2020 = -1;
|
||||
this.field2021 = 0;
|
||||
this.transformVarbit = -1; // L: 40
|
||||
this.transformVarp = -1; // L: 41
|
||||
} // L: 43
|
||||
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lpi;B)V",
|
||||
garbageValue = "101"
|
||||
descriptor = "(Lpd;I)V",
|
||||
garbageValue = "-766688511"
|
||||
)
|
||||
@Export("decode")
|
||||
void decode(Buffer var1) {
|
||||
@@ -152,64 +159,64 @@ public class HitSplatDefinition extends DualNode {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lpi;II)V",
|
||||
garbageValue = "-633903385"
|
||||
descriptor = "(Lpd;II)V",
|
||||
garbageValue = "-907720149"
|
||||
)
|
||||
@Export("decodeNext")
|
||||
void decodeNext(Buffer var1, int var2) {
|
||||
if (var2 == 1) { // L: 64
|
||||
this.fontId = var1.method7352();
|
||||
this.fontId = var1.method7742();
|
||||
} else if (var2 == 2) { // L: 65
|
||||
this.textColor = var1.readMedium();
|
||||
} else if (var2 == 3) { // L: 66
|
||||
this.field1953 = var1.method7352();
|
||||
} else if (var2 == 4) {
|
||||
this.field1955 = var1.method7352();
|
||||
} else if (var2 == 5) {
|
||||
this.field1954 = var1.method7352();
|
||||
} else if (var2 == 6) {
|
||||
this.field1956 = var1.method7352();
|
||||
} else if (var2 == 7) {
|
||||
this.field1957 = var1.readShort();
|
||||
} else if (var2 == 8) {
|
||||
this.field1960 = var1.readStringCp1252NullCircumfixed();
|
||||
} else if (var2 == 9) {
|
||||
this.field1944 = var1.readUnsignedShort();
|
||||
} else if (var2 == 10) {
|
||||
this.field1952 = var1.readShort();
|
||||
} else if (var2 == 11) {
|
||||
this.field1959 = 0;
|
||||
} else if (var2 == 12) {
|
||||
this.field1961 = var1.readUnsignedByte();
|
||||
this.field2018 = var1.method7742();
|
||||
} else if (var2 == 4) { // L: 67
|
||||
this.field2014 = var1.method7742();
|
||||
} else if (var2 == 5) { // L: 68
|
||||
this.field2015 = var1.method7742();
|
||||
} else if (var2 == 6) { // L: 69
|
||||
this.field2003 = var1.method7742();
|
||||
} else if (var2 == 7) { // L: 70
|
||||
this.field2016 = var1.readShort();
|
||||
} else if (var2 == 8) { // L: 71
|
||||
this.field2019 = var1.readStringCp1252NullCircumfixed();
|
||||
} else if (var2 == 9) { // L: 72
|
||||
this.field2025 = var1.readUnsignedShort();
|
||||
} else if (var2 == 10) { // L: 73
|
||||
this.field2017 = var1.readShort();
|
||||
} else if (var2 == 11) { // L: 74
|
||||
this.field2005 = 0;
|
||||
} else if (var2 == 12) { // L: 75
|
||||
this.field2020 = var1.readUnsignedByte();
|
||||
} else if (var2 == 13) { // L: 76
|
||||
this.field1958 = var1.readShort();
|
||||
this.field2021 = var1.readShort();
|
||||
} else if (var2 == 14) {
|
||||
this.field1959 = var1.readUnsignedShort();
|
||||
} else if (var2 == 17 || var2 == 18) {
|
||||
this.transformVarbit = var1.readUnsignedShort();
|
||||
if (this.transformVarbit == 65535) {
|
||||
this.field2005 = var1.readUnsignedShort(); // L: 77
|
||||
} else if (var2 == 17 || var2 == 18) { // L: 78
|
||||
this.transformVarbit = var1.readUnsignedShort(); // L: 79
|
||||
if (this.transformVarbit == 65535) { // L: 80
|
||||
this.transformVarbit = -1;
|
||||
}
|
||||
|
||||
this.transformVarp = var1.readUnsignedShort();
|
||||
if (this.transformVarp == 65535) {
|
||||
this.transformVarp = var1.readUnsignedShort(); // L: 81
|
||||
if (this.transformVarp == 65535) { // L: 82
|
||||
this.transformVarp = -1;
|
||||
}
|
||||
|
||||
int var3 = -1;
|
||||
if (var2 == 18) {
|
||||
var3 = var1.readUnsignedShort();
|
||||
if (var3 == 65535) {
|
||||
int var3 = -1; // L: 83
|
||||
if (var2 == 18) { // L: 84
|
||||
var3 = var1.readUnsignedShort(); // L: 85
|
||||
if (var3 == 65535) { // L: 86
|
||||
var3 = -1;
|
||||
}
|
||||
}
|
||||
|
||||
int var4 = var1.readUnsignedByte();
|
||||
this.transforms = new int[var4 + 2];
|
||||
int var4 = var1.readUnsignedByte(); // L: 88
|
||||
this.transforms = new int[var4 + 2]; // L: 89
|
||||
|
||||
for (int var5 = 0; var5 <= var4; ++var5) {
|
||||
for (int var5 = 0; var5 <= var4; ++var5) { // L: 90
|
||||
this.transforms[var5] = var1.readUnsignedShort(); // L: 91
|
||||
if (this.transforms[var5] == 65535) { // L: 92
|
||||
this.transforms[var5] = -1;
|
||||
@@ -221,16 +228,16 @@ public class HitSplatDefinition extends DualNode {
|
||||
|
||||
} // L: 97
|
||||
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)Lfy;",
|
||||
garbageValue = "1373539159"
|
||||
descriptor = "(I)Lgj;",
|
||||
garbageValue = "-1523162219"
|
||||
)
|
||||
@Export("transform")
|
||||
public final HitSplatDefinition transform() {
|
||||
int var1 = -1; // L: 100
|
||||
if (this.transformVarbit != -1) { // L: 101
|
||||
var1 = class375.getVarbit(this.transformVarbit);
|
||||
var1 = WorldMapRegion.getVarbit(this.transformVarbit);
|
||||
} else if (this.transformVarp != -1) { // L: 102
|
||||
var1 = Varps.Varps_main[this.transformVarp];
|
||||
}
|
||||
@@ -242,17 +249,17 @@ public class HitSplatDefinition extends DualNode {
|
||||
var2 = this.transforms[this.transforms.length - 1];
|
||||
}
|
||||
|
||||
return var2 != -1 ? class293.method5480(var2) : null; // L: 106 107
|
||||
return var2 != -1 ? GameEngine.method589(var2) : null; // L: 106 107
|
||||
}
|
||||
|
||||
@ObfuscatedName("r")
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(II)Ljava/lang/String;",
|
||||
garbageValue = "2056247959"
|
||||
garbageValue = "-2040807148"
|
||||
)
|
||||
@Export("getString")
|
||||
public String getString(int var1) {
|
||||
String var2 = this.field1960; // L: 111
|
||||
String var2 = this.field2019; // L: 111
|
||||
|
||||
while (true) {
|
||||
int var3 = var2.indexOf("%1"); // L: 113
|
||||
@@ -260,26 +267,26 @@ public class HitSplatDefinition extends DualNode {
|
||||
return var2; // L: 117
|
||||
}
|
||||
|
||||
var2 = var2.substring(0, var3) + class121.intToString(var1, false) + var2.substring(var3 + 2); // L: 115
|
||||
var2 = var2.substring(0, var3) + JagexCache.intToString(var1, false) + var2.substring(var3 + 2); // L: 115
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)Lpt;",
|
||||
garbageValue = "1497260899"
|
||||
descriptor = "(I)Lql;",
|
||||
garbageValue = "-817208999"
|
||||
)
|
||||
public SpritePixels method3450() {
|
||||
if (this.field1953 < 0) { // L: 121
|
||||
public SpritePixels method3611() {
|
||||
if (this.field2018 < 0) { // L: 121
|
||||
return null;
|
||||
} else {
|
||||
SpritePixels var1 = (SpritePixels)HitSplatDefinition_cachedSprites.get((long)this.field1953); // L: 122
|
||||
SpritePixels var1 = (SpritePixels)HitSplatDefinition_cachedSprites.get((long)this.field2018); // L: 122
|
||||
if (var1 != null) {
|
||||
return var1; // L: 123
|
||||
} else {
|
||||
var1 = class126.SpriteBuffer_getSprite(Frames.field2379, this.field1953, 0); // L: 124
|
||||
var1 = InterfaceParent.SpriteBuffer_getSprite(class20.field101, this.field2018, 0); // L: 124
|
||||
if (var1 != null) {
|
||||
HitSplatDefinition_cachedSprites.put(var1, (long)this.field1953); // L: 125
|
||||
HitSplatDefinition_cachedSprites.put(var1, (long)this.field2018); // L: 125
|
||||
}
|
||||
|
||||
return var1; // L: 127
|
||||
@@ -287,22 +294,22 @@ public class HitSplatDefinition extends DualNode {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedName("d")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)Lpt;",
|
||||
garbageValue = "636789367"
|
||||
descriptor = "(S)Lql;",
|
||||
garbageValue = "6554"
|
||||
)
|
||||
public SpritePixels method3411() {
|
||||
if (this.field1954 < 0) { // L: 131
|
||||
public SpritePixels method3620() {
|
||||
if (this.field2015 < 0) { // L: 131
|
||||
return null;
|
||||
} else {
|
||||
SpritePixels var1 = (SpritePixels)HitSplatDefinition_cachedSprites.get((long)this.field1954); // L: 132
|
||||
if (var1 != null) {
|
||||
return var1; // L: 133
|
||||
SpritePixels var1 = (SpritePixels)HitSplatDefinition_cachedSprites.get((long)this.field2015); // L: 132
|
||||
if (var1 != null) { // L: 133
|
||||
return var1;
|
||||
} else {
|
||||
var1 = class126.SpriteBuffer_getSprite(Frames.field2379, this.field1954, 0); // L: 134
|
||||
if (var1 != null) { // L: 135
|
||||
HitSplatDefinition_cachedSprites.put(var1, (long)this.field1954);
|
||||
var1 = InterfaceParent.SpriteBuffer_getSprite(class20.field101, this.field2015, 0); // L: 134
|
||||
if (var1 != null) {
|
||||
HitSplatDefinition_cachedSprites.put(var1, (long)this.field2015); // L: 135
|
||||
}
|
||||
|
||||
return var1; // L: 137
|
||||
@@ -310,22 +317,22 @@ public class HitSplatDefinition extends DualNode {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)Lpt;",
|
||||
garbageValue = "-140418588"
|
||||
descriptor = "(S)Lql;",
|
||||
garbageValue = "8947"
|
||||
)
|
||||
public SpritePixels method3418() {
|
||||
if (this.field1955 < 0) { // L: 141
|
||||
public SpritePixels method3613() {
|
||||
if (this.field2014 < 0) { // L: 141
|
||||
return null;
|
||||
} else {
|
||||
SpritePixels var1 = (SpritePixels)HitSplatDefinition_cachedSprites.get((long)this.field1955); // L: 142
|
||||
if (var1 != null) { // L: 143
|
||||
return var1;
|
||||
SpritePixels var1 = (SpritePixels)HitSplatDefinition_cachedSprites.get((long)this.field2014); // L: 142
|
||||
if (var1 != null) {
|
||||
return var1; // L: 143
|
||||
} else {
|
||||
var1 = class126.SpriteBuffer_getSprite(Frames.field2379, this.field1955, 0); // L: 144
|
||||
if (var1 != null) {
|
||||
HitSplatDefinition_cachedSprites.put(var1, (long)this.field1955); // L: 145
|
||||
var1 = InterfaceParent.SpriteBuffer_getSprite(class20.field101, this.field2014, 0); // L: 144
|
||||
if (var1 != null) { // L: 145
|
||||
HitSplatDefinition_cachedSprites.put(var1, (long)this.field2014);
|
||||
}
|
||||
|
||||
return var1; // L: 147
|
||||
@@ -333,22 +340,22 @@ public class HitSplatDefinition extends DualNode {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(B)Lpt;",
|
||||
garbageValue = "0"
|
||||
descriptor = "(I)Lql;",
|
||||
garbageValue = "-2026619889"
|
||||
)
|
||||
public SpritePixels method3419() {
|
||||
if (this.field1956 < 0) { // L: 151
|
||||
public SpritePixels method3614() {
|
||||
if (this.field2003 < 0) { // L: 151
|
||||
return null;
|
||||
} else {
|
||||
SpritePixels var1 = (SpritePixels)HitSplatDefinition_cachedSprites.get((long)this.field1956); // L: 152
|
||||
SpritePixels var1 = (SpritePixels)HitSplatDefinition_cachedSprites.get((long)this.field2003); // L: 152
|
||||
if (var1 != null) {
|
||||
return var1; // L: 153
|
||||
} else {
|
||||
var1 = class126.SpriteBuffer_getSprite(Frames.field2379, this.field1956, 0); // L: 154
|
||||
if (var1 != null) {
|
||||
HitSplatDefinition_cachedSprites.put(var1, (long)this.field1956); // L: 155
|
||||
var1 = InterfaceParent.SpriteBuffer_getSprite(class20.field101, this.field2003, 0); // L: 154
|
||||
if (var1 != null) { // L: 155
|
||||
HitSplatDefinition_cachedSprites.put(var1, (long)this.field2003);
|
||||
}
|
||||
|
||||
return var1; // L: 157
|
||||
@@ -356,10 +363,10 @@ public class HitSplatDefinition extends DualNode {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedName("r")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(B)Llv;",
|
||||
garbageValue = "-26"
|
||||
descriptor = "(B)Lmr;",
|
||||
garbageValue = "95"
|
||||
)
|
||||
@Export("getFont")
|
||||
public Font getFont() {
|
||||
@@ -370,81 +377,247 @@ public class HitSplatDefinition extends DualNode {
|
||||
if (var1 != null) { // L: 163
|
||||
return var1;
|
||||
} else {
|
||||
AbstractArchive var3 = Frames.field2379; // L: 165
|
||||
AbstractArchive var4 = class413.HitSplatDefinition_fontsArchive; // L: 166
|
||||
int var5 = this.fontId; // L: 167
|
||||
Font var2;
|
||||
if (!class125.method2744(var3, var5, 0)) { // L: 169
|
||||
var2 = null; // L: 170
|
||||
} else {
|
||||
var2 = Clock.method3125(var4.takeFile(var5, 0)); // L: 173
|
||||
var1 = class19.method319(class20.field101, HitSplatDefinition_fontsArchive, this.fontId, 0); // L: 164
|
||||
if (var1 != null) {
|
||||
HitSplatDefinition_cachedFonts.put(var1, (long)this.fontId); // L: 165
|
||||
}
|
||||
|
||||
if (var2 != null) { // L: 176
|
||||
HitSplatDefinition_cachedFonts.put(var2, (long)this.fontId);
|
||||
}
|
||||
|
||||
return var2; // L: 178
|
||||
return var1; // L: 167
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(IIILfg;IB)V",
|
||||
garbageValue = "0"
|
||||
descriptor = "(II)Lfy;",
|
||||
garbageValue = "346076354"
|
||||
)
|
||||
static void method3456(int var0, int var1, int var2, ObjectComposition var3, int var4) {
|
||||
ObjectSound var5 = new ObjectSound(); // L: 67
|
||||
var5.plane = var0; // L: 68
|
||||
var5.x = var1 * 128; // L: 69
|
||||
var5.y = var2 * 128; // L: 70
|
||||
int var6 = var3.sizeX; // L: 71
|
||||
int var7 = var3.sizeY; // L: 72
|
||||
if (var4 == 1 || var4 == 3) { // L: 73
|
||||
var6 = var3.sizeY; // L: 74
|
||||
var7 = var3.sizeX; // L: 75
|
||||
}
|
||||
|
||||
var5.maxX = (var6 + var1) * 128; // L: 77
|
||||
var5.maxY = (var7 + var2) * 128; // L: 78
|
||||
var5.soundEffectId = var3.ambientSoundId; // L: 79
|
||||
var5.field822 = var3.int7 * 128; // L: 80
|
||||
var5.field820 = var3.int5; // L: 81
|
||||
var5.field830 = var3.int6; // L: 82
|
||||
var5.soundEffectIds = var3.soundEffectIds; // L: 83
|
||||
if (var3.transforms != null) { // L: 84
|
||||
var5.obj = var3; // L: 85
|
||||
var5.set(); // L: 86
|
||||
}
|
||||
|
||||
ObjectSound.objectSounds.addFirst(var5); // L: 88
|
||||
if (var5.soundEffectIds != null) { // L: 89
|
||||
var5.field826 = var5.field820 + (int)(Math.random() * (double)(var5.field830 - var5.field820));
|
||||
}
|
||||
|
||||
} // L: 90
|
||||
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(II)I",
|
||||
garbageValue = "-2128803730"
|
||||
)
|
||||
public static int method3455(int var0) {
|
||||
if (var0 > 0) { // L: 196
|
||||
return 1;
|
||||
public static HealthBarDefinition method3619(int var0) {
|
||||
HealthBarDefinition var1 = (HealthBarDefinition)HealthBarDefinition.HealthBarDefinition_cached.get((long)var0); // L: 32
|
||||
if (var1 != null) { // L: 33
|
||||
return var1;
|
||||
} else {
|
||||
return var0 < 0 ? -1 : 0; // L: 197 198
|
||||
byte[] var2 = HealthBarDefinition.HealthBarDefinition_archive.takeFile(33, var0); // L: 34
|
||||
var1 = new HealthBarDefinition(); // L: 35
|
||||
if (var2 != null) { // L: 36
|
||||
var1.decode(new Buffer(var2));
|
||||
}
|
||||
|
||||
HealthBarDefinition.HealthBarDefinition_cached.put(var1, (long)var0); // L: 37
|
||||
return var1; // L: 38
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("ho")
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)V",
|
||||
garbageValue = "-1464715593"
|
||||
descriptor = "(I)[Lkj;",
|
||||
garbageValue = "945276935"
|
||||
)
|
||||
static void method3454() {
|
||||
Client.menuOptionsCount = 0; // L: 8124
|
||||
Client.isMenuOpen = false; // L: 8125
|
||||
} // L: 8126
|
||||
@Export("PlayerType_values")
|
||||
public static PlayerType[] PlayerType_values() {
|
||||
return new PlayerType[]{PlayerType.PlayerType_hardcoreIronman, PlayerType.PlayerType_ironman, PlayerType.field3919, PlayerType.field3931, PlayerType.PlayerType_playerModerator, PlayerType.PlayerType_normal, PlayerType.field3926, PlayerType.PlayerType_jagexModerator, PlayerType.PlayerType_ultimateIronman}; // L: 22
|
||||
}
|
||||
|
||||
@ObfuscatedName("an")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(ILbo;ZI)I",
|
||||
garbageValue = "-213160896"
|
||||
)
|
||||
static int method3642(int var0, Script var1, boolean var2) {
|
||||
if (var0 == ScriptOpcodes.WORLDLIST_FETCH) { // L: 3917
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = MusicPatch.loadWorlds() ? 1 : 0; // L: 3918
|
||||
return 1; // L: 3919
|
||||
} else {
|
||||
World var9;
|
||||
if (var0 == ScriptOpcodes.WORLDLIST_START) { // L: 3921
|
||||
var9 = FloorDecoration.worldListStart(); // L: 3922
|
||||
if (var9 != null) { // L: 3923
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = var9.id; // L: 3924
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = var9.properties; // L: 3925
|
||||
Interpreter.Interpreter_stringStack[++ChatChannel.Interpreter_stringStackSize - 1] = var9.activity; // L: 3926
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = var9.location; // L: 3927
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = var9.population; // L: 3928
|
||||
Interpreter.Interpreter_stringStack[++ChatChannel.Interpreter_stringStackSize - 1] = var9.host; // L: 3929
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = -1; // L: 3932
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = 0; // L: 3933
|
||||
Interpreter.Interpreter_stringStack[++ChatChannel.Interpreter_stringStackSize - 1] = ""; // L: 3934
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = 0; // L: 3935
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = 0; // L: 3936
|
||||
Interpreter.Interpreter_stringStack[++ChatChannel.Interpreter_stringStackSize - 1] = ""; // L: 3937
|
||||
}
|
||||
|
||||
return 1; // L: 3939
|
||||
} else if (var0 == ScriptOpcodes.WORLDLIST_NEXT) { // L: 3941
|
||||
var9 = WallDecoration.getNextWorldListWorld(); // L: 3942
|
||||
if (var9 != null) { // L: 3943
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = var9.id; // L: 3944
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = var9.properties; // L: 3945
|
||||
Interpreter.Interpreter_stringStack[++ChatChannel.Interpreter_stringStackSize - 1] = var9.activity; // L: 3946
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = var9.location; // L: 3947
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = var9.population; // L: 3948
|
||||
Interpreter.Interpreter_stringStack[++ChatChannel.Interpreter_stringStackSize - 1] = var9.host; // L: 3949
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = -1; // L: 3952
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = 0; // L: 3953
|
||||
Interpreter.Interpreter_stringStack[++ChatChannel.Interpreter_stringStackSize - 1] = ""; // L: 3954
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = 0; // L: 3955
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = 0; // L: 3956
|
||||
Interpreter.Interpreter_stringStack[++ChatChannel.Interpreter_stringStackSize - 1] = ""; // L: 3957
|
||||
}
|
||||
|
||||
return 1; // L: 3959
|
||||
} else {
|
||||
int var3;
|
||||
World var7;
|
||||
int var8;
|
||||
if (var0 == ScriptOpcodes.WORLDLIST_SPECIFIC) { // L: 3961
|
||||
var3 = Interpreter.Interpreter_intStack[--class295.Interpreter_intStackSize]; // L: 3962
|
||||
var7 = null; // L: 3963
|
||||
|
||||
for (var8 = 0; var8 < World.World_count; ++var8) { // L: 3964
|
||||
if (var3 == World.World_worlds[var8].id) { // L: 3965
|
||||
var7 = World.World_worlds[var8]; // L: 3966
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (var7 != null) { // L: 3970
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = var7.id; // L: 3971
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = var7.properties; // L: 3972
|
||||
Interpreter.Interpreter_stringStack[++ChatChannel.Interpreter_stringStackSize - 1] = var7.activity; // L: 3973
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = var7.location; // L: 3974
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = var7.population; // L: 3975
|
||||
Interpreter.Interpreter_stringStack[++ChatChannel.Interpreter_stringStackSize - 1] = var7.host; // L: 3976
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = -1; // L: 3979
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = 0; // L: 3980
|
||||
Interpreter.Interpreter_stringStack[++ChatChannel.Interpreter_stringStackSize - 1] = ""; // L: 3981
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = 0; // L: 3982
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = 0; // L: 3983
|
||||
Interpreter.Interpreter_stringStack[++ChatChannel.Interpreter_stringStackSize - 1] = ""; // L: 3984
|
||||
}
|
||||
|
||||
return 1; // L: 3986
|
||||
} else if (var0 == ScriptOpcodes.WORLDLIST_SORT) { // L: 3988
|
||||
class295.Interpreter_intStackSize -= 4; // L: 3989
|
||||
var3 = Interpreter.Interpreter_intStack[class295.Interpreter_intStackSize]; // L: 3990
|
||||
boolean var10 = Interpreter.Interpreter_intStack[class295.Interpreter_intStackSize + 1] == 1; // L: 3991
|
||||
var8 = Interpreter.Interpreter_intStack[class295.Interpreter_intStackSize + 2]; // L: 3992
|
||||
boolean var6 = Interpreter.Interpreter_intStack[class295.Interpreter_intStackSize + 3] == 1; // L: 3993
|
||||
FriendsList.sortWorldList(var3, var10, var8, var6); // L: 3994
|
||||
return 1; // L: 3995
|
||||
} else if (var0 != 6511) { // L: 3997
|
||||
if (var0 == ScriptOpcodes.SETFOLLOWEROPSLOWPRIORITY) { // L: 4018
|
||||
Client.followerOpsLowPriority = Interpreter.Interpreter_intStack[--class295.Interpreter_intStackSize] == 1; // L: 4019
|
||||
return 1; // L: 4020
|
||||
} else {
|
||||
int var4;
|
||||
ParamComposition var5;
|
||||
if (var0 == ScriptOpcodes.NC_PARAM) { // L: 4022
|
||||
class295.Interpreter_intStackSize -= 2; // L: 4023
|
||||
var3 = Interpreter.Interpreter_intStack[class295.Interpreter_intStackSize]; // L: 4024
|
||||
var4 = Interpreter.Interpreter_intStack[class295.Interpreter_intStackSize + 1]; // L: 4025
|
||||
var5 = class182.getParamDefinition(var4); // L: 4026
|
||||
if (var5.isString()) { // L: 4027
|
||||
Interpreter.Interpreter_stringStack[++ChatChannel.Interpreter_stringStackSize - 1] = class9.getNpcDefinition(var3).getStringParam(var4, var5.defaultStr); // L: 4028
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = class9.getNpcDefinition(var3).getIntParam(var4, var5.defaultInt); // L: 4031
|
||||
}
|
||||
|
||||
return 1; // L: 4033
|
||||
} else if (var0 == ScriptOpcodes.LC_PARAM) { // L: 4035
|
||||
class295.Interpreter_intStackSize -= 2; // L: 4036
|
||||
var3 = Interpreter.Interpreter_intStack[class295.Interpreter_intStackSize]; // L: 4037
|
||||
var4 = Interpreter.Interpreter_intStack[class295.Interpreter_intStackSize + 1]; // L: 4038
|
||||
var5 = class182.getParamDefinition(var4); // L: 4039
|
||||
if (var5.isString()) { // L: 4040
|
||||
Interpreter.Interpreter_stringStack[++ChatChannel.Interpreter_stringStackSize - 1] = class116.getObjectDefinition(var3).getStringParam(var4, var5.defaultStr); // L: 4041
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = class116.getObjectDefinition(var3).getIntParam(var4, var5.defaultInt); // L: 4044
|
||||
}
|
||||
|
||||
return 1; // L: 4046
|
||||
} else if (var0 == ScriptOpcodes.OC_PARAM) { // L: 4048
|
||||
class295.Interpreter_intStackSize -= 2; // L: 4049
|
||||
var3 = Interpreter.Interpreter_intStack[class295.Interpreter_intStackSize]; // L: 4050
|
||||
var4 = Interpreter.Interpreter_intStack[class295.Interpreter_intStackSize + 1]; // L: 4051
|
||||
var5 = class182.getParamDefinition(var4); // L: 4052
|
||||
if (var5.isString()) { // L: 4053
|
||||
Interpreter.Interpreter_stringStack[++ChatChannel.Interpreter_stringStackSize - 1] = class67.ItemDefinition_get(var3).getStringParam(var4, var5.defaultStr); // L: 4054
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = class67.ItemDefinition_get(var3).getIntParam(var4, var5.defaultInt); // L: 4057
|
||||
}
|
||||
|
||||
return 1; // L: 4059
|
||||
} else if (var0 == ScriptOpcodes.STRUCT_PARAM) { // L: 4061
|
||||
class295.Interpreter_intStackSize -= 2; // L: 4062
|
||||
var3 = Interpreter.Interpreter_intStack[class295.Interpreter_intStackSize]; // L: 4063
|
||||
var4 = Interpreter.Interpreter_intStack[class295.Interpreter_intStackSize + 1]; // L: 4064
|
||||
var5 = class182.getParamDefinition(var4); // L: 4065
|
||||
if (var5.isString()) { // L: 4066
|
||||
Interpreter.Interpreter_stringStack[++ChatChannel.Interpreter_stringStackSize - 1] = class114.StructDefinition_getStructDefinition(var3).getStringParam(var4, var5.defaultStr); // L: 4067
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = class114.StructDefinition_getStructDefinition(var3).getIntParam(var4, var5.defaultInt); // L: 4070
|
||||
}
|
||||
|
||||
return 1; // L: 4072
|
||||
} else if (var0 == ScriptOpcodes.ON_MOBILE) { // L: 4074
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = Client.onMobile ? 1 : 0; // L: 4075
|
||||
return 1; // L: 4076
|
||||
} else if (var0 == ScriptOpcodes.CLIENTTYPE) { // L: 4078
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = Client.clientType; // L: 4079
|
||||
return 1; // L: 4080
|
||||
} else if (var0 == 6520) { // L: 4082
|
||||
return 1; // L: 4083
|
||||
} else if (var0 == ScriptOpcodes.MOBILE_KEYBOARDHIDE) { // L: 4085
|
||||
return 1; // L: 4086
|
||||
} else if (var0 == 6522) { // L: 4088
|
||||
--ChatChannel.Interpreter_stringStackSize; // L: 4089
|
||||
--class295.Interpreter_intStackSize; // L: 4090
|
||||
return 1; // L: 4091
|
||||
} else if (var0 == 6523) { // L: 4093
|
||||
--ChatChannel.Interpreter_stringStackSize; // L: 4094
|
||||
--class295.Interpreter_intStackSize; // L: 4095
|
||||
return 1; // L: 4096
|
||||
} else if (var0 == ScriptOpcodes.MOBILE_BATTERYLEVEL) { // L: 4098
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = -1; // L: 4099
|
||||
return 1; // L: 4100
|
||||
} else if (var0 == ScriptOpcodes.MOBILE_BATTERYCHARGING) { // L: 4102
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = 1; // L: 4103
|
||||
return 1; // L: 4104
|
||||
} else if (var0 == ScriptOpcodes.MOBILE_WIFIAVAILABLE) { // L: 4106
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = 1; // L: 4107
|
||||
return 1; // L: 4108
|
||||
} else if (var0 == 6527) { // L: 4110
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = Client.field486; // L: 4111
|
||||
return 1; // L: 4112
|
||||
} else {
|
||||
return 2; // L: 4114
|
||||
}
|
||||
}
|
||||
} else {
|
||||
var3 = Interpreter.Interpreter_intStack[--class295.Interpreter_intStackSize]; // L: 3998
|
||||
if (var3 >= 0 && var3 < World.World_count) { // L: 3999
|
||||
var7 = World.World_worlds[var3]; // L: 4000
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = var7.id; // L: 4001
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = var7.properties; // L: 4002
|
||||
Interpreter.Interpreter_stringStack[++ChatChannel.Interpreter_stringStackSize - 1] = var7.activity; // L: 4003
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = var7.location; // L: 4004
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = var7.population; // L: 4005
|
||||
Interpreter.Interpreter_stringStack[++ChatChannel.Interpreter_stringStackSize - 1] = var7.host; // L: 4006
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = -1; // L: 4009
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = 0; // L: 4010
|
||||
Interpreter.Interpreter_stringStack[++ChatChannel.Interpreter_stringStackSize - 1] = ""; // L: 4011
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = 0; // L: 4012
|
||||
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = 0; // L: 4013
|
||||
Interpreter.Interpreter_stringStack[++ChatChannel.Interpreter_stringStackSize - 1] = ""; // L: 4014
|
||||
}
|
||||
|
||||
return 1; // L: 4016
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user