project: rev 192
This commit is contained in:
@@ -1,134 +1,133 @@
|
||||
import net.runelite.mapping.Export;
|
||||
import net.runelite.mapping.ObfuscatedGetter;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
import net.runelite.rs.ScriptOpcodes;
|
||||
|
||||
@ObfuscatedName("ff")
|
||||
@ObfuscatedName("fz")
|
||||
public enum class169 implements Enumerated {
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lff;"
|
||||
descriptor = "Lfz;"
|
||||
)
|
||||
field2045(3, 0),
|
||||
@ObfuscatedName("k")
|
||||
field2033(2, 0),
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lff;"
|
||||
descriptor = "Lfz;"
|
||||
)
|
||||
field2046(1, 1),
|
||||
@ObfuscatedName("s")
|
||||
field2029(0, 1),
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lff;"
|
||||
descriptor = "Lfz;"
|
||||
)
|
||||
field2043(2, 2),
|
||||
@ObfuscatedName("t")
|
||||
field2028(1, 2),
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lff;"
|
||||
descriptor = "Lfz;"
|
||||
)
|
||||
field2044(0, 3);
|
||||
field2034(3, 3);
|
||||
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedName("ad")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1066802481
|
||||
intValue = -1161977131
|
||||
)
|
||||
public final int field2042;
|
||||
@ObfuscatedName("o")
|
||||
static int field2035;
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1306076667
|
||||
intValue = 1105831857
|
||||
)
|
||||
public final int field2032;
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1075265281
|
||||
)
|
||||
@Export("id")
|
||||
final int id;
|
||||
|
||||
class169(int var3, int var4) {
|
||||
this.field2042 = var3; // L: 16
|
||||
this.field2032 = var3; // L: 16
|
||||
this.id = var4; // L: 17
|
||||
} // L: 18
|
||||
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)I",
|
||||
garbageValue = "385513888"
|
||||
descriptor = "(B)I",
|
||||
garbageValue = "23"
|
||||
)
|
||||
@Export("rsOrdinal")
|
||||
public int rsOrdinal() {
|
||||
return this.id; // L: 21
|
||||
}
|
||||
|
||||
@ObfuscatedName("ag")
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(ILcy;ZI)I",
|
||||
garbageValue = "-306559930"
|
||||
descriptor = "(III)V",
|
||||
garbageValue = "19136995"
|
||||
)
|
||||
static int method3542(int var0, Script var1, boolean var2) {
|
||||
int var3;
|
||||
int var6;
|
||||
int var9;
|
||||
if (var0 == ScriptOpcodes.ENUM_STRING) { // L: 1861
|
||||
Interpreter.Interpreter_intStackSize -= 2; // L: 1862
|
||||
var3 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize]; // L: 1863
|
||||
var9 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1]; // L: 1864
|
||||
EnumDefinition var10 = GrandExchangeOfferNameComparator.getEnum(var3); // L: 1865
|
||||
if (var10.outputType != 's') { // L: 1866
|
||||
}
|
||||
|
||||
for (var6 = 0; var6 < var10.outputCount; ++var6) { // L: 1867
|
||||
if (var9 == var10.keys[var6]) { // L: 1868
|
||||
Interpreter.Interpreter_stringStack[++Varps.Interpreter_stringStackSize - 1] = var10.strVals[var6]; // L: 1869
|
||||
var10 = null; // L: 1870
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (var10 != null) { // L: 1874
|
||||
Interpreter.Interpreter_stringStack[++Varps.Interpreter_stringStackSize - 1] = var10.defaultStr;
|
||||
}
|
||||
|
||||
return 1; // L: 1875
|
||||
} else if (var0 != ScriptOpcodes.ENUM) { // L: 1877
|
||||
if (var0 == ScriptOpcodes.ENUM_GETOUTPUTCOUNT) { // L: 1903
|
||||
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]; // L: 1904
|
||||
EnumDefinition var4 = GrandExchangeOfferNameComparator.getEnum(var3); // L: 1905
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var4.size(); // L: 1906
|
||||
return 1; // L: 1907
|
||||
} else {
|
||||
return 2; // L: 1909
|
||||
}
|
||||
public static void method3571(int var0, int var1) {
|
||||
VarbitDefinition var3 = (VarbitDefinition)VarbitDefinition.VarbitDefinition_cached.get((long)var0); // L: 48
|
||||
VarbitDefinition var2;
|
||||
if (var3 != null) { // L: 49
|
||||
var2 = var3; // L: 50
|
||||
} else {
|
||||
Interpreter.Interpreter_intStackSize -= 4; // L: 1878
|
||||
var3 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize]; // L: 1879
|
||||
var9 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1]; // L: 1880
|
||||
int var5 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 2]; // L: 1881
|
||||
var6 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 3]; // L: 1882
|
||||
EnumDefinition var7 = GrandExchangeOfferNameComparator.getEnum(var5); // L: 1883
|
||||
if (var3 == var7.inputType && var9 == var7.outputType) { // L: 1884
|
||||
for (int var8 = 0; var8 < var7.outputCount; ++var8) { // L: 1889
|
||||
if (var6 == var7.keys[var8]) { // L: 1890
|
||||
if (var9 == 115) { // L: 1891
|
||||
Interpreter.Interpreter_stringStack[++Varps.Interpreter_stringStackSize - 1] = var7.strVals[var8];
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var7.intVals[var8]; // L: 1892
|
||||
}
|
||||
|
||||
var7 = null; // L: 1893
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (var7 != null) { // L: 1897
|
||||
if (var9 == 115) { // L: 1898
|
||||
Interpreter.Interpreter_stringStack[++Varps.Interpreter_stringStackSize - 1] = var7.defaultStr;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var7.defaultInt; // L: 1899
|
||||
}
|
||||
}
|
||||
|
||||
return 1; // L: 1901
|
||||
} else {
|
||||
if (var9 == 115) { // L: 1885
|
||||
Interpreter.Interpreter_stringStack[++Varps.Interpreter_stringStackSize - 1] = "null";
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0; // L: 1886
|
||||
}
|
||||
|
||||
return 1; // L: 1887
|
||||
byte[] var4 = VarbitDefinition.VarbitDefinition_archive.takeFile(14, var0); // L: 53
|
||||
var3 = new VarbitDefinition(); // L: 54
|
||||
if (var4 != null) { // L: 55
|
||||
var3.decode(new Buffer(var4));
|
||||
}
|
||||
|
||||
VarbitDefinition.VarbitDefinition_cached.put(var3, (long)var0); // L: 56
|
||||
var2 = var3; // L: 57
|
||||
}
|
||||
|
||||
int var8 = var2.baseVar; // L: 60
|
||||
int var5 = var2.startBit; // L: 61
|
||||
int var6 = var2.endBit; // L: 62
|
||||
int var7 = Varps.Varps_masks[var6 - var5]; // L: 63
|
||||
if (var1 < 0 || var1 > var7) { // L: 64
|
||||
var1 = 0;
|
||||
}
|
||||
|
||||
var7 <<= var5; // L: 65
|
||||
Varps.Varps_main[var8] = Varps.Varps_main[var8] & ~var7 | var1 << var5 & var7; // L: 66
|
||||
} // L: 67
|
||||
|
||||
@ObfuscatedName("ak")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(ILco;ZB)I",
|
||||
garbageValue = "-118"
|
||||
)
|
||||
static int method3572(int var0, Script var1, boolean var2) {
|
||||
int var3;
|
||||
if (var0 == ScriptOpcodes.CAM_FORCEANGLE) { // L: 3153
|
||||
MilliClock.Interpreter_intStackSize -= 2; // L: 3154
|
||||
var3 = Interpreter.Interpreter_intStack[MilliClock.Interpreter_intStackSize]; // L: 3155
|
||||
int var4 = Interpreter.Interpreter_intStack[MilliClock.Interpreter_intStackSize + 1]; // L: 3156
|
||||
if (!Client.isCameraLocked) { // L: 3157
|
||||
Client.camAngleX = var3; // L: 3158
|
||||
Client.camAngleY = var4; // L: 3159
|
||||
}
|
||||
|
||||
return 1; // L: 3161
|
||||
} else if (var0 == ScriptOpcodes.CAM_GETANGLE_XA) { // L: 3163
|
||||
Interpreter.Interpreter_intStack[++MilliClock.Interpreter_intStackSize - 1] = Client.camAngleX; // L: 3164
|
||||
return 1; // L: 3165
|
||||
} else if (var0 == ScriptOpcodes.CAM_GETANGLE_YA) { // L: 3167
|
||||
Interpreter.Interpreter_intStack[++MilliClock.Interpreter_intStackSize - 1] = Client.camAngleY; // L: 3168
|
||||
return 1; // L: 3169
|
||||
} else if (var0 == ScriptOpcodes.CAM_SETFOLLOWHEIGHT) { // L: 3171
|
||||
var3 = Interpreter.Interpreter_intStack[--MilliClock.Interpreter_intStackSize]; // L: 3172
|
||||
if (var3 < 0) { // L: 3173
|
||||
var3 = 0;
|
||||
}
|
||||
|
||||
Client.camFollowHeight = var3; // L: 3174
|
||||
return 1; // L: 3175
|
||||
} else if (var0 == ScriptOpcodes.CAM_GETFOLLOWHEIGHT) { // L: 3177
|
||||
Interpreter.Interpreter_intStack[++MilliClock.Interpreter_intStackSize - 1] = Client.camFollowHeight; // L: 3178
|
||||
return 1; // L: 3179
|
||||
} else {
|
||||
return 2; // L: 3181
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user