client: revvy boi 202
This commit is contained in:
@@ -3,56 +3,40 @@ 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("hk")
|
||||
@ObfuscatedName("gz")
|
||||
@Implements("ViewportMouse")
|
||||
public class ViewportMouse {
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedName("c")
|
||||
@Export("ViewportMouse_isInViewport")
|
||||
public static boolean ViewportMouse_isInViewport;
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1767898875
|
||||
)
|
||||
@Export("ViewportMouse_x")
|
||||
static int ViewportMouse_x;
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1574858815
|
||||
)
|
||||
@Export("ViewportMouse_y")
|
||||
static int ViewportMouse_y;
|
||||
@ObfuscatedName("a")
|
||||
@Export("ViewportMouse_false0")
|
||||
static boolean ViewportMouse_false0;
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1627779879
|
||||
)
|
||||
static int field2582;
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 388017149
|
||||
)
|
||||
static int field2579;
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1496218799
|
||||
)
|
||||
static int field2584;
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1501353273
|
||||
intValue = 533460423
|
||||
)
|
||||
static int field2590;
|
||||
@Export("ViewportMouse_x")
|
||||
public static int ViewportMouse_x;
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1696550227
|
||||
)
|
||||
@Export("ViewportMouse_y")
|
||||
public static int ViewportMouse_y;
|
||||
@ObfuscatedName("m")
|
||||
@Export("ViewportMouse_false0")
|
||||
public static boolean ViewportMouse_false0;
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1561495595
|
||||
intValue = -2019317565
|
||||
)
|
||||
static int field2503;
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 194867713
|
||||
)
|
||||
@Export("ViewportMouse_entityCount")
|
||||
public static int ViewportMouse_entityCount;
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedName("g")
|
||||
@Export("ViewportMouse_entityTags")
|
||||
public static long[] ViewportMouse_entityTags;
|
||||
|
||||
@@ -65,33 +49,36 @@ public class ViewportMouse {
|
||||
ViewportMouse_entityTags = new long[1000]; // L: 18
|
||||
}
|
||||
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedName("bo")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(ILbp;ZI)I",
|
||||
garbageValue = "598393616"
|
||||
descriptor = "([BB)[B",
|
||||
garbageValue = "14"
|
||||
)
|
||||
static int method4622(int var0, Script var1, boolean var2) {
|
||||
Widget var3 = var2 ? class120.scriptDotWidget : Frames.scriptActiveWidget; // L: 1087
|
||||
if (var0 == ScriptOpcodes.CC_GETX) { // L: 1088
|
||||
Interpreter.Interpreter_intStack[++class14.Interpreter_intStackSize - 1] = var3.x; // L: 1089
|
||||
return 1; // L: 1090
|
||||
} else if (var0 == ScriptOpcodes.CC_GETY) { // L: 1092
|
||||
Interpreter.Interpreter_intStack[++class14.Interpreter_intStackSize - 1] = var3.y; // L: 1093
|
||||
return 1; // L: 1094
|
||||
} else if (var0 == ScriptOpcodes.CC_GETWIDTH) { // L: 1096
|
||||
Interpreter.Interpreter_intStack[++class14.Interpreter_intStackSize - 1] = var3.width; // L: 1097
|
||||
return 1; // L: 1098
|
||||
} else if (var0 == ScriptOpcodes.CC_GETHEIGHT) { // L: 1100
|
||||
Interpreter.Interpreter_intStack[++class14.Interpreter_intStackSize - 1] = var3.height; // L: 1101
|
||||
return 1; // L: 1102
|
||||
} else if (var0 == ScriptOpcodes.CC_GETHIDE) { // L: 1104
|
||||
Interpreter.Interpreter_intStack[++class14.Interpreter_intStackSize - 1] = var3.isHidden ? 1 : 0; // L: 1105
|
||||
return 1; // L: 1106
|
||||
} else if (var0 == ScriptOpcodes.CC_GETLAYER) { // L: 1108
|
||||
Interpreter.Interpreter_intStack[++class14.Interpreter_intStackSize - 1] = var3.parentId; // L: 1109
|
||||
return 1; // L: 1110
|
||||
@Export("decompressBytes")
|
||||
static final byte[] decompressBytes(byte[] var0) {
|
||||
Buffer var1 = new Buffer(var0); // L: 424
|
||||
int var2 = var1.readUnsignedByte(); // L: 425
|
||||
int var3 = var1.readInt(); // L: 426
|
||||
if (var3 < 0 || AbstractArchive.field3843 != 0 && var3 > AbstractArchive.field3843) { // L: 427
|
||||
throw new RuntimeException(); // L: 428
|
||||
} else if (var2 == 0) { // L: 430
|
||||
byte[] var6 = new byte[var3]; // L: 431
|
||||
var1.readBytes(var6, 0, var3); // L: 432
|
||||
return var6; // L: 433
|
||||
} else {
|
||||
return 2; // L: 1112
|
||||
int var4 = var1.readInt(); // L: 436
|
||||
if (var4 >= 0 && (AbstractArchive.field3843 == 0 || var4 <= AbstractArchive.field3843)) { // L: 437
|
||||
byte[] var5 = new byte[var4]; // L: 440
|
||||
if (var2 == 1) { // L: 441
|
||||
BZip2Decompressor.BZip2Decompressor_decompress(var5, var4, var0, var3, 9);
|
||||
} else {
|
||||
AbstractArchive.gzipDecompressor.decompress(var1, var5); // L: 442
|
||||
}
|
||||
|
||||
return var5; // L: 443
|
||||
} else {
|
||||
throw new RuntimeException(); // L: 438
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user