project: rev 195
This commit is contained in:
@@ -3,280 +3,109 @@ 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("bh")
|
||||
@ObfuscatedName("ch")
|
||||
@Implements("Tiles")
|
||||
public final class Tiles {
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedName("f")
|
||||
@Export("Tiles_heights")
|
||||
static int[][][] Tiles_heights;
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedName("o")
|
||||
@Export("Tiles_renderFlags")
|
||||
static byte[][][] Tiles_renderFlags;
|
||||
@ObfuscatedName("d")
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -968243809
|
||||
intValue = -725804883
|
||||
)
|
||||
@Export("Tiles_minPlane")
|
||||
static int Tiles_minPlane;
|
||||
@ObfuscatedName("c")
|
||||
static byte[][][] field517;
|
||||
@ObfuscatedName("h")
|
||||
static byte[][][] field530;
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedName("b")
|
||||
static byte[][][] field1092;
|
||||
@ObfuscatedName("e")
|
||||
static byte[][][] field1091;
|
||||
@ObfuscatedName("n")
|
||||
@Export("Tiles_hue")
|
||||
static int[] Tiles_hue;
|
||||
@ObfuscatedName("l")
|
||||
@Export("Tiles_saturation")
|
||||
static int[] Tiles_saturation;
|
||||
@ObfuscatedName("g")
|
||||
static final int[] field521;
|
||||
@ObfuscatedName("u")
|
||||
static final int[] field514;
|
||||
@ObfuscatedName("t")
|
||||
static final int[] field523;
|
||||
@ObfuscatedName("p")
|
||||
static final int[] field527;
|
||||
@ObfuscatedName("m")
|
||||
static final int[] field525;
|
||||
@ObfuscatedName("r")
|
||||
static final int[] field526;
|
||||
@ObfuscatedName("o")
|
||||
@Export("Tiles_lightness")
|
||||
static int[] Tiles_lightness;
|
||||
@ObfuscatedName("v")
|
||||
static final int[] field1094;
|
||||
@ObfuscatedName("x")
|
||||
static final int[] field1098;
|
||||
@ObfuscatedName("z")
|
||||
static final int[] field1097;
|
||||
@ObfuscatedName("i")
|
||||
static final int[] field1100;
|
||||
@ObfuscatedName("a")
|
||||
static final int[] field1101;
|
||||
@ObfuscatedName("w")
|
||||
static final int[] field1099;
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1953607333
|
||||
intValue = 1418652947
|
||||
)
|
||||
static int field518;
|
||||
@ObfuscatedName("j")
|
||||
static int field1103;
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -2108936291
|
||||
intValue = 4127251
|
||||
)
|
||||
static int field528;
|
||||
@ObfuscatedName("ek")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Liy;"
|
||||
)
|
||||
@Export("archive14")
|
||||
static Archive archive14;
|
||||
static int field1104;
|
||||
|
||||
static {
|
||||
Tiles_heights = new int[4][105][105];
|
||||
Tiles_heights = new int[4][105][105]; // L: 16
|
||||
Tiles_renderFlags = new byte[4][104][104]; // L: 17
|
||||
Tiles_minPlane = 99;
|
||||
field521 = new int[]{1, 2, 4, 8};
|
||||
field514 = new int[]{16, 32, 64, 128}; // L: 35
|
||||
field523 = new int[]{1, 0, -1, 0}; // L: 36
|
||||
field527 = new int[]{0, -1, 0, 1};
|
||||
field525 = new int[]{1, -1, -1, 1}; // L: 38
|
||||
field526 = new int[]{-1, -1, 1, 1}; // L: 39
|
||||
field518 = (int)(Math.random() * 17.0D) - 8; // L: 40
|
||||
field528 = (int)(Math.random() * 33.0D) - 16; // L: 41
|
||||
Tiles_minPlane = 99; // L: 18
|
||||
field1094 = new int[]{1, 2, 4, 8}; // L: 34
|
||||
field1098 = new int[]{16, 32, 64, 128}; // L: 35
|
||||
field1097 = new int[]{1, 0, -1, 0}; // L: 36
|
||||
field1100 = new int[]{0, -1, 0, 1}; // L: 37
|
||||
field1101 = new int[]{1, -1, -1, 1};
|
||||
field1099 = new int[]{-1, -1, 1, 1};
|
||||
field1103 = (int)(Math.random() * 17.0D) - 8;
|
||||
field1104 = (int)(Math.random() * 33.0D) - 16;
|
||||
}
|
||||
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)J",
|
||||
garbageValue = "-1552906826"
|
||||
descriptor = "(IIII)Lcc;",
|
||||
garbageValue = "-560076270"
|
||||
)
|
||||
@Export("currentTimeMillis")
|
||||
public static final synchronized long currentTimeMillis() {
|
||||
long var0 = System.currentTimeMillis(); // L: 14
|
||||
if (var0 < class307.field3734) { // L: 15
|
||||
class307.field3735 += class307.field3734 - var0; // L: 16
|
||||
@Export("getWorldMapScript")
|
||||
static Script getWorldMapScript(int var0, int var1, int var2) {
|
||||
int var3 = class137.method2654(var1, var0); // L: 38
|
||||
Script var4 = Widget.method4292(var3, var0); // L: 39
|
||||
if (var4 != null) { // L: 40
|
||||
return var4; // L: 41
|
||||
} else {
|
||||
var3 = class124.method2489(var2, var0); // L: 43
|
||||
var4 = Widget.method4292(var3, var0); // L: 44
|
||||
return var4 != null ? var4 : null; // L: 45 48
|
||||
}
|
||||
|
||||
class307.field3734 = var0;
|
||||
return class307.field3735 + var0;
|
||||
}
|
||||
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(II)Lih;",
|
||||
garbageValue = "-2101793788"
|
||||
descriptor = "(II)Lky;",
|
||||
garbageValue = "-2019872849"
|
||||
)
|
||||
public static VarbitComposition method1219(int var0) {
|
||||
VarbitComposition var1 = (VarbitComposition)VarbitComposition.VarbitDefinition_cached.get((long)var0);
|
||||
if (var1 != null) {
|
||||
public static FloorUnderlayDefinition method2035(int var0) {
|
||||
FloorUnderlayDefinition var1 = (FloorUnderlayDefinition)FloorUnderlayDefinition.FloorUnderlayDefinition_cached.get((long)var0); // L: 23
|
||||
if (var1 != null) { // L: 24
|
||||
return var1;
|
||||
} else {
|
||||
byte[] var2 = VarbitComposition.VarbitDefinition_archive.takeFile(14, var0);
|
||||
var1 = new VarbitComposition();
|
||||
if (var2 != null) {
|
||||
var1.decode(new Buffer(var2));
|
||||
byte[] var2 = FloorUnderlayDefinition.FloorUnderlayDefinition_archive.takeFile(1, var0); // L: 25
|
||||
var1 = new FloorUnderlayDefinition(); // L: 26
|
||||
if (var2 != null) { // L: 27
|
||||
var1.decode(new Buffer(var2), var0);
|
||||
}
|
||||
|
||||
VarbitComposition.VarbitDefinition_cached.put(var1, (long)var0);
|
||||
return var1;
|
||||
var1.postDecode(); // L: 28
|
||||
FloorUnderlayDefinition.FloorUnderlayDefinition_cached.put(var1, (long)var0); // L: 29
|
||||
return var1; // L: 30
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(ILlu;Liy;B)V",
|
||||
garbageValue = "1"
|
||||
)
|
||||
static void method1218(int var0, ArchiveDisk var1, Archive var2) {
|
||||
ArchiveDiskAction var3 = new ArchiveDiskAction(); // L: 18
|
||||
var3.type = 1; // L: 19
|
||||
var3.key = (long)var0; // L: 20
|
||||
var3.archiveDisk = var1; // L: 21
|
||||
var3.archive = var2;
|
||||
synchronized(ArchiveDiskActionHandler.ArchiveDiskActionHandler_requestQueue) { // L: 23
|
||||
ArchiveDiskActionHandler.ArchiveDiskActionHandler_requestQueue.addFirst(var3); // L: 24
|
||||
} // L: 25
|
||||
|
||||
synchronized(ArchiveDiskActionHandler.ArchiveDiskActionHandler_lock) { // L: 27
|
||||
if (ArchiveDiskActionHandler.field3187 == 0) { // L: 28
|
||||
ArchiveDiskActionHandler.ArchiveDiskActionHandler_thread = new Thread(new ArchiveDiskActionHandler()); // L: 29
|
||||
ArchiveDiskActionHandler.ArchiveDiskActionHandler_thread.setDaemon(true); // L: 30
|
||||
ArchiveDiskActionHandler.ArchiveDiskActionHandler_thread.start(); // L: 31
|
||||
ArchiveDiskActionHandler.ArchiveDiskActionHandler_thread.setPriority(5); // L: 32
|
||||
}
|
||||
|
||||
ArchiveDiskActionHandler.field3187 = 600; // L: 34
|
||||
}
|
||||
} // L: 37
|
||||
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)[Lgv;",
|
||||
garbageValue = "-2100535609"
|
||||
)
|
||||
static LoginPacket[] method1217() {
|
||||
return new LoginPacket[]{LoginPacket.field2340, LoginPacket.field2339, LoginPacket.field2342, LoginPacket.field2338, LoginPacket.field2336, LoginPacket.field2337}; // L: 22
|
||||
}
|
||||
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Ljava/lang/String;I)V",
|
||||
garbageValue = "-1993341504"
|
||||
)
|
||||
static final void method1209(String var0) {
|
||||
class300.method5473("Please remove " + var0 + " from your friend list first"); // L: 158
|
||||
} // L: 159
|
||||
|
||||
@ObfuscatedName("ax")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(ILcl;ZI)I",
|
||||
garbageValue = "1872094164"
|
||||
)
|
||||
static int method1215(int var0, Script var1, boolean var2) {
|
||||
int var6;
|
||||
if (var0 == ScriptOpcodes.OC_NAME) { // L: 2808
|
||||
var6 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]; // L: 2809
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = class281.ItemDefinition_get(var6).name; // L: 2810
|
||||
return 1; // L: 2811
|
||||
} else {
|
||||
int var4;
|
||||
ItemComposition var5;
|
||||
if (var0 == ScriptOpcodes.OC_OP) { // L: 2813
|
||||
Interpreter.Interpreter_intStackSize -= 2; // L: 2814
|
||||
var6 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize]; // L: 2815
|
||||
var4 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1]; // L: 2816
|
||||
var5 = class281.ItemDefinition_get(var6); // L: 2817
|
||||
if (var4 >= 1 && var4 <= 5 && var5.groundActions[var4 - 1] != null) { // L: 2818
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = var5.groundActions[var4 - 1];
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = ""; // L: 2819
|
||||
}
|
||||
|
||||
return 1; // L: 2820
|
||||
} else if (var0 == ScriptOpcodes.OC_IOP) { // L: 2822
|
||||
Interpreter.Interpreter_intStackSize -= 2; // L: 2823
|
||||
var6 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize]; // L: 2824
|
||||
var4 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1]; // L: 2825
|
||||
var5 = class281.ItemDefinition_get(var6); // L: 2826
|
||||
if (var4 >= 1 && var4 <= 5 && var5.inventoryActions[var4 - 1] != null) { // L: 2827
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = var5.inventoryActions[var4 - 1];
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = ""; // L: 2828
|
||||
}
|
||||
|
||||
return 1; // L: 2829
|
||||
} else if (var0 == ScriptOpcodes.OC_COST) { // L: 2831
|
||||
var6 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]; // L: 2832
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = class281.ItemDefinition_get(var6).price; // L: 2833
|
||||
return 1; // L: 2834
|
||||
} else if (var0 == ScriptOpcodes.OC_STACKABLE) { // L: 2836
|
||||
var6 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]; // L: 2837
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = class281.ItemDefinition_get(var6).isStackable == 1 ? 1 : 0; // L: 2838
|
||||
return 1; // L: 2839
|
||||
} else {
|
||||
ItemComposition var7;
|
||||
if (var0 == ScriptOpcodes.OC_CERT) { // L: 2841
|
||||
var6 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]; // L: 2842
|
||||
var7 = class281.ItemDefinition_get(var6); // L: 2843
|
||||
if (var7.noteTemplate == -1 && var7.note >= 0) { // L: 2844
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var7.note;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var6; // L: 2845
|
||||
}
|
||||
|
||||
return 1; // L: 2846
|
||||
} else if (var0 == ScriptOpcodes.OC_UNCERT) { // L: 2848
|
||||
var6 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]; // L: 2849
|
||||
var7 = class281.ItemDefinition_get(var6); // L: 2850
|
||||
if (var7.noteTemplate >= 0 && var7.note >= 0) { // L: 2851
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var7.note;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var6; // L: 2852
|
||||
}
|
||||
|
||||
return 1; // L: 2853
|
||||
} else if (var0 == ScriptOpcodes.OC_MEMBERS) { // L: 2855
|
||||
var6 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]; // L: 2856
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = class281.ItemDefinition_get(var6).isMembersOnly ? 1 : 0; // L: 2857
|
||||
return 1; // L: 2858
|
||||
} else if (var0 == ScriptOpcodes.OC_PLACEHOLDER) { // L: 2860
|
||||
var6 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]; // L: 2861
|
||||
var7 = class281.ItemDefinition_get(var6); // L: 2862
|
||||
if (var7.placeholderTemplate == -1 && var7.placeholder >= 0) { // L: 2863
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var7.placeholder;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var6; // L: 2864
|
||||
}
|
||||
|
||||
return 1; // L: 2865
|
||||
} else if (var0 == ScriptOpcodes.OC_UNPLACEHOLDER) { // L: 2867
|
||||
var6 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]; // L: 2868
|
||||
var7 = class281.ItemDefinition_get(var6); // L: 2869
|
||||
if (var7.placeholderTemplate >= 0 && var7.placeholder >= 0) { // L: 2870
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var7.placeholder;
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var6; // L: 2871
|
||||
}
|
||||
|
||||
return 1; // L: 2872
|
||||
} else if (var0 == ScriptOpcodes.OC_FIND) { // L: 2874
|
||||
String var3 = Interpreter.Interpreter_stringStack[--Interpreter.Interpreter_stringStackSize]; // L: 2875
|
||||
var4 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]; // L: 2876
|
||||
PendingSpawn.findItemDefinitions(var3, var4 == 1); // L: 2877
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = NPC.foundItemIdCount; // L: 2878
|
||||
return 1; // L: 2879
|
||||
} else if (var0 != ScriptOpcodes.OC_FINDNEXT) { // L: 2881
|
||||
if (var0 == ScriptOpcodes.OC_FINDRESET) { // L: 2886
|
||||
WorldMapLabelSize.foundItemIndex = 0; // L: 2887
|
||||
return 1; // L: 2888
|
||||
} else {
|
||||
return 2; // L: 2890
|
||||
}
|
||||
} else {
|
||||
if (class52.foundItemIds != null && WorldMapLabelSize.foundItemIndex < NPC.foundItemIdCount) { // L: 2882
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = class52.foundItemIds[++WorldMapLabelSize.foundItemIndex - 1] & '\uffff'; // L: 2883
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -1;
|
||||
}
|
||||
|
||||
return 1; // L: 2884
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("jg")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(ZI)V",
|
||||
garbageValue = "739507935"
|
||||
)
|
||||
@Export("setTapToDrop")
|
||||
static void setTapToDrop(boolean var0) {
|
||||
Client.tapToDrop = var0; // L: 10361
|
||||
} // L: 10362
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user