project: rev 195
This commit is contained in:
@@ -1,177 +1,140 @@
|
||||
import java.util.Comparator;
|
||||
import net.runelite.mapping.Export;
|
||||
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("bu")
|
||||
@ObfuscatedName("bz")
|
||||
@Implements("GrandExchangeOfferOwnWorldComparator")
|
||||
public class GrandExchangeOfferOwnWorldComparator implements Comparator {
|
||||
@ObfuscatedName("ny")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1660740811
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lir;"
|
||||
)
|
||||
static int field656;
|
||||
@ObfuscatedName("n")
|
||||
@Export("SequenceDefinition_animationsArchive")
|
||||
public static AbstractArchive SequenceDefinition_animationsArchive;
|
||||
@ObfuscatedName("d")
|
||||
@Export("Tiles_hueMultiplier")
|
||||
static int[] Tiles_hueMultiplier;
|
||||
@ObfuscatedName("f")
|
||||
@Export("filterWorlds")
|
||||
boolean filterWorlds;
|
||||
|
||||
GrandExchangeOfferOwnWorldComparator() {
|
||||
} // L: 11707
|
||||
} // L: 11779
|
||||
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lx;Lx;I)I",
|
||||
garbageValue = "2015971420"
|
||||
descriptor = "(Ljt;Ljt;I)I",
|
||||
garbageValue = "-1018432181"
|
||||
)
|
||||
@Export("compare_bridged")
|
||||
int compare_bridged(GrandExchangeEvent var1, GrandExchangeEvent var2) {
|
||||
if (var2.world == var1.world) { // L: 11710
|
||||
if (var2.world == var1.world) { // L: 11782
|
||||
return 0;
|
||||
} else {
|
||||
if (this.filterWorlds) { // L: 11711
|
||||
if (Client.worldId == var1.world) { // L: 11712
|
||||
if (this.filterWorlds) { // L: 11783
|
||||
if (Client.worldId == var1.world) { // L: 11784
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (var2.world == Client.worldId) { // L: 11713
|
||||
if (var2.world == Client.worldId) { // L: 11785
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
return var1.world < var2.world ? -1 : 1; // L: 11715
|
||||
return var1.world < var2.world ? -1 : 1; // L: 11787
|
||||
}
|
||||
}
|
||||
|
||||
public int compare(Object var1, Object var2) {
|
||||
return this.compare_bridged((GrandExchangeEvent)var1, (GrandExchangeEvent)var2); // L: 11719
|
||||
}
|
||||
|
||||
public boolean equals(Object var1) {
|
||||
return super.equals(var1); // L: 11723
|
||||
return super.equals(var1); // L: 11795
|
||||
}
|
||||
|
||||
@ObfuscatedName("n")
|
||||
public int compare(Object var1, Object var2) {
|
||||
return this.compare_bridged((GrandExchangeEvent)var1, (GrandExchangeEvent)var2); // L: 11791
|
||||
}
|
||||
|
||||
@ObfuscatedName("aw")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(IIB)I",
|
||||
garbageValue = "1"
|
||||
descriptor = "(ILcc;ZB)I",
|
||||
garbageValue = "20"
|
||||
)
|
||||
static int method1375(int var0, int var1) {
|
||||
ItemContainer var2 = (ItemContainer)ItemContainer.itemContainers.get((long)var0); // L: 14
|
||||
if (var2 == null) { // L: 15
|
||||
return -1;
|
||||
static int method1217(int var0, Script var1, boolean var2) {
|
||||
if (var0 == ScriptOpcodes.GETWINDOWMODE) { // L: 3375
|
||||
Interpreter.Interpreter_intStack[++class16.Interpreter_intStackSize - 1] = WorldMapScaleHandler.getWindowedMode(); // L: 3376
|
||||
return 1; // L: 3377
|
||||
} else {
|
||||
return var1 >= 0 && var1 < var2.ids.length ? var2.ids[var1] : -1; // L: 16 17
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)Z",
|
||||
garbageValue = "2139827308"
|
||||
)
|
||||
public static boolean method1366() {
|
||||
ReflectionCheck var0 = (ReflectionCheck)class105.reflectionChecks.last(); // L: 28
|
||||
return var0 != null; // L: 29
|
||||
}
|
||||
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(ILig;IIIZI)V",
|
||||
garbageValue = "1340227558"
|
||||
)
|
||||
public static void method1376(int var0, AbstractArchive var1, int var2, int var3, int var4, boolean var5) {
|
||||
class206.musicPlayerStatus = 1; // L: 50
|
||||
class206.musicTrackArchive = var1; // L: 51
|
||||
class206.musicTrackGroupId = var2; // L: 52
|
||||
SoundSystem.musicTrackFileId = var3; // L: 53
|
||||
DevicePcmPlayerProvider.musicTrackVolume = var4;
|
||||
class206.musicTrackBoolean = var5; // L: 55
|
||||
class7.pcmSampleLength = var0; // L: 56
|
||||
} // L: 57
|
||||
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(IZI)Ljava/lang/String;",
|
||||
garbageValue = "147453853"
|
||||
)
|
||||
@Export("intToString")
|
||||
public static String intToString(int var0, boolean var1) {
|
||||
if (var1 && var0 >= 0) { // L: 110
|
||||
int var3 = var0; // L: 112
|
||||
String var2;
|
||||
if (var1 && var0 >= 0) { // L: 115
|
||||
int var4 = 2; // L: 119
|
||||
|
||||
for (int var5 = var0 / 10; var5 != 0; ++var4) { // L: 120 121 123
|
||||
var5 /= 10; // L: 122
|
||||
int var3;
|
||||
if (var0 == ScriptOpcodes.SETWINDOWMODE) { // L: 3379
|
||||
var3 = Interpreter.Interpreter_intStack[--class16.Interpreter_intStackSize]; // L: 3380
|
||||
if (var3 == 1 || var3 == 2) { // L: 3381
|
||||
Tile.setWindowedMode(var3);
|
||||
}
|
||||
|
||||
char[] var6 = new char[var4]; // L: 125
|
||||
var6[0] = '+'; // L: 126
|
||||
|
||||
for (int var7 = var4 - 1; var7 > 0; --var7) { // L: 127
|
||||
int var8 = var3; // L: 128
|
||||
var3 /= 10; // L: 129
|
||||
int var9 = var8 - var3 * 10; // L: 130
|
||||
if (var9 >= 10) { // L: 131
|
||||
var6[var7] = (char)(var9 + 87);
|
||||
} else {
|
||||
var6[var7] = (char)(var9 + 48); // L: 132
|
||||
}
|
||||
return 1; // L: 3382
|
||||
} else if (var0 == ScriptOpcodes.GETDEFAULTWINDOWMODE) { // L: 3384
|
||||
Interpreter.Interpreter_intStack[++class16.Interpreter_intStackSize - 1] = Login.clientPreferences.windowMode; // L: 3385
|
||||
return 1; // L: 3386
|
||||
} else if (var0 != ScriptOpcodes.SETDEFAULTWINDOWMODE) { // L: 3388
|
||||
if (var0 == 5310) { // L: 3396
|
||||
--class16.Interpreter_intStackSize; // L: 3397
|
||||
return 1; // L: 3398
|
||||
} else if (var0 == 5350) { // L: 3400
|
||||
Interpreter.Interpreter_stringStackSize -= 2; // L: 3401
|
||||
--class16.Interpreter_intStackSize; // L: 3402
|
||||
return 1; // L: 3403
|
||||
} else if (var0 == 5351) { // L: 3405
|
||||
--Interpreter.Interpreter_stringStackSize; // L: 3406
|
||||
return 1; // L: 3407
|
||||
} else {
|
||||
return 2; // L: 3409
|
||||
}
|
||||
|
||||
var2 = new String(var6); // L: 134
|
||||
} else {
|
||||
var2 = Integer.toString(var0, 10); // L: 116
|
||||
var3 = Interpreter.Interpreter_intStack[--class16.Interpreter_intStackSize]; // L: 3389
|
||||
if (var3 == 1 || var3 == 2) { // L: 3390
|
||||
Login.clientPreferences.windowMode = var3; // L: 3391
|
||||
Message.savePreferences(); // L: 3392
|
||||
}
|
||||
|
||||
return 1; // L: 3394
|
||||
}
|
||||
|
||||
return var2; // L: 136
|
||||
} else {
|
||||
return Integer.toString(var0);
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedName("av")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(ZI)V",
|
||||
garbageValue = "-1311209187"
|
||||
descriptor = "(ILcc;ZB)I",
|
||||
garbageValue = "73"
|
||||
)
|
||||
@Export("Login_promptCredentials")
|
||||
static void Login_promptCredentials(boolean var0) {
|
||||
Login.Login_response1 = ""; // L: 784
|
||||
Login.Login_response2 = "Enter your username/email & password."; // L: 785
|
||||
Login.Login_response3 = ""; // L: 786
|
||||
Login.loginIndex = 2; // L: 787
|
||||
if (var0) { // L: 788
|
||||
Login.Login_password = "";
|
||||
}
|
||||
|
||||
class248.method4514(); // L: 789
|
||||
class8.method88(); // L: 790
|
||||
} // L: 791
|
||||
|
||||
@ObfuscatedName("ab")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "([BII)I",
|
||||
garbageValue = "-1467177624"
|
||||
)
|
||||
public static int method1380(byte[] var0, int var1) {
|
||||
return Player.method1317(var0, 0, var1); // L: 54
|
||||
}
|
||||
|
||||
@ObfuscatedName("kh")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lkx;I)V",
|
||||
garbageValue = "-1869683138"
|
||||
)
|
||||
static void method1378(Buffer var0) {
|
||||
if (Client.randomDatData != null) { // L: 11603
|
||||
var0.writeBytes(Client.randomDatData, 0, Client.randomDatData.length); // L: 11604
|
||||
static int method1216(int var0, Script var1, boolean var2) {
|
||||
if (var0 != 6700 && var0 != 6702 && var0 != 6704 && var0 != 6706 && var0 != 6708) { // L: 4108
|
||||
if (var0 != 6701 && var0 != 6703 && var0 != 6705 && var0 != 6707 && var0 != 6709) { // L: 4113
|
||||
if (var0 == 6750) { // L: 4117
|
||||
++Interpreter.Interpreter_stringStackSize; // L: 4118
|
||||
return 1; // L: 4119
|
||||
} else if (var0 != 6751 && var0 != 6752 && var0 != 6753) { // L: 4121
|
||||
if (var0 == 6754) { // L: 4125
|
||||
int var3 = Interpreter.Interpreter_intStack[--class16.Interpreter_intStackSize]; // L: 4126
|
||||
NPCComposition var4 = GraphicsObject.getNpcDefinition(var3); // L: 4127
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = var4 != null ? var4.name : ""; // L: 4128
|
||||
return 1; // L: 4129
|
||||
} else {
|
||||
return 2; // L: 4131
|
||||
}
|
||||
} else {
|
||||
++class16.Interpreter_intStackSize; // L: 4122
|
||||
return 1; // L: 4123
|
||||
}
|
||||
} else {
|
||||
--class16.Interpreter_intStackSize; // L: 4114
|
||||
return 1; // L: 4115
|
||||
}
|
||||
} else {
|
||||
byte[] var1 = Projectile.method2260(); // L: 11607
|
||||
var0.writeBytes(var1, 0, var1.length); // L: 11608
|
||||
class16.Interpreter_intStackSize -= 2; // L: 4109
|
||||
--Interpreter.Interpreter_stringStackSize; // L: 4110
|
||||
return 1; // L: 4111
|
||||
}
|
||||
} // L: 11605 11609
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user