chore: revision 189

This commit is contained in:
ThatGamerBlue
2020-03-26 14:17:06 +00:00
parent 60b7d0413f
commit acd339fd70
392 changed files with 43289 additions and 42917 deletions

View File

@@ -5,148 +5,66 @@ 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("cc")
@ObfuscatedName("du")
@Implements("ReflectionCheck")
public class ReflectionCheck extends Node {
@ObfuscatedName("qz")
@ObfuscatedGetter(
intValue = -799338112
)
static int field1319;
@ObfuscatedName("by")
@ObfuscatedName("gi")
@ObfuscatedSignature(
signature = "[Lli;"
signature = "[Lla;"
)
@Export("worldSelectFlagSprites")
static IndexedSprite[] worldSelectFlagSprites;
@ObfuscatedName("c")
@Export("headIconPrayerSprites")
static Sprite[] headIconPrayerSprites;
@ObfuscatedName("x")
@ObfuscatedGetter(
intValue = -677956283
intValue = 1911756689
)
@Export("id")
int id;
@ObfuscatedName("t")
@ObfuscatedName("m")
@Export("arguments")
byte[][][] arguments;
@ObfuscatedName("k")
@ObfuscatedGetter(
intValue = 1081173073
intValue = -28201163
)
@Export("size")
int size;
@ObfuscatedName("o")
@ObfuscatedName("d")
@Export("operations")
int[] operations;
@ObfuscatedName("e")
@ObfuscatedName("w")
@Export("creationErrors")
int[] creationErrors;
@ObfuscatedName("i")
@ObfuscatedName("v")
@Export("fields")
Field[] fields;
@ObfuscatedName("g")
@ObfuscatedName("q")
@Export("intReplaceValues")
int[] intReplaceValues;
@ObfuscatedName("d")
@ObfuscatedName("z")
@Export("methods")
Method[] methods;
@ObfuscatedName("l")
@Export("arguments")
byte[][][] arguments;
ReflectionCheck() {
}
@ObfuscatedName("av")
@ObfuscatedName("g")
@ObfuscatedSignature(
signature = "(ILce;ZI)I",
garbageValue = "1634047659"
signature = "(B)V",
garbageValue = "100"
)
static int method2348(int var0, Script var1, boolean var2) {
if (var0 == ScriptOpcodes.VIEWPORT_SETFOV) {
class320.Interpreter_intStackSize -= 2;
Client.field908 = (short)GrandExchangeEvent.method97(Interpreter.Interpreter_intStack[class320.Interpreter_intStackSize]);
if (Client.field908 <= 0) {
Client.field908 = 256;
}
static void method2396() {
Login.loginIndex = 24;
HealthBarUpdate.setLoginResponseString("", "You were disconnected from the server.", "");
}
Client.field897 = (short)GrandExchangeEvent.method97(Interpreter.Interpreter_intStack[class320.Interpreter_intStackSize + 1]);
if (Client.field897 <= 0) {
Client.field897 = 256;
}
return 1;
} else if (var0 == ScriptOpcodes.VIEWPORT_SETZOOM) {
class320.Interpreter_intStackSize -= 2;
Client.zoomHeight = (short)Interpreter.Interpreter_intStack[class320.Interpreter_intStackSize];
if (Client.zoomHeight <= 0) {
Client.zoomHeight = 256;
}
Client.zoomWidth = (short)Interpreter.Interpreter_intStack[class320.Interpreter_intStackSize + 1];
if (Client.zoomWidth <= 0) {
Client.zoomWidth = 320;
}
return 1;
} else if (var0 == ScriptOpcodes.VIEWPORT_CLAMPFOV) {
class320.Interpreter_intStackSize -= 4;
Client.field900 = (short)Interpreter.Interpreter_intStack[class320.Interpreter_intStackSize];
if (Client.field900 <= 0) {
Client.field900 = 1;
}
Client.field673 = (short)Interpreter.Interpreter_intStack[class320.Interpreter_intStackSize + 1];
if (Client.field673 <= 0) {
Client.field673 = 32767;
} else if (Client.field673 < Client.field900) {
Client.field673 = Client.field900;
}
Client.field819 = (short)Interpreter.Interpreter_intStack[class320.Interpreter_intStackSize + 2];
if (Client.field819 <= 0) {
Client.field819 = 1;
}
Client.field903 = (short)Interpreter.Interpreter_intStack[class320.Interpreter_intStackSize + 3];
if (Client.field903 <= 0) {
Client.field903 = 32767;
} else if (Client.field903 < Client.field819) {
Client.field903 = Client.field819;
}
return 1;
} else if (var0 == ScriptOpcodes.VIEWPORT_GETEFFECTIVESIZE) {
if (Client.viewportWidget != null) {
GrandExchangeOfferUnitPriceComparator.setViewportShape(0, 0, Client.viewportWidget.width, Client.viewportWidget.height, false);
Interpreter.Interpreter_intStack[++class320.Interpreter_intStackSize - 1] = Client.viewportWidth;
Interpreter.Interpreter_intStack[++class320.Interpreter_intStackSize - 1] = Client.viewportHeight;
} else {
Interpreter.Interpreter_intStack[++class320.Interpreter_intStackSize - 1] = -1;
Interpreter.Interpreter_intStack[++class320.Interpreter_intStackSize - 1] = -1;
}
return 1;
} else if (var0 == ScriptOpcodes.VIEWPORT_GETZOOM) {
Interpreter.Interpreter_intStack[++class320.Interpreter_intStackSize - 1] = Client.zoomHeight;
Interpreter.Interpreter_intStack[++class320.Interpreter_intStackSize - 1] = Client.zoomWidth;
return 1;
} else if (var0 == ScriptOpcodes.VIEWPORT_GETFOV) {
Interpreter.Interpreter_intStack[++class320.Interpreter_intStackSize - 1] = UserComparator3.method3499(Client.field908);
Interpreter.Interpreter_intStack[++class320.Interpreter_intStackSize - 1] = UserComparator3.method3499(Client.field897);
return 1;
} else if (var0 == 6220) {
Interpreter.Interpreter_intStack[++class320.Interpreter_intStackSize - 1] = 0;
return 1;
} else if (var0 == 6221) {
Interpreter.Interpreter_intStack[++class320.Interpreter_intStackSize - 1] = 0;
return 1;
} else if (var0 == 6222) {
Interpreter.Interpreter_intStack[++class320.Interpreter_intStackSize - 1] = Username.canvasWidth;
return 1;
} else if (var0 == 6223) {
Interpreter.Interpreter_intStack[++class320.Interpreter_intStackSize - 1] = WorldMapData_1.canvasHeight;
return 1;
} else {
return 2;
}
@ObfuscatedName("an")
@ObfuscatedSignature(
signature = "(Ldg;S)V",
garbageValue = "-25430"
)
public static final void method2397(class108 var0) {
PcmPlayer.pcmPlayerProvider = var0;
}
}