project: Rev update
This commit is contained in:
@@ -1,29 +1,31 @@
|
||||
import java.io.IOException;
|
||||
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("ee")
|
||||
@ObfuscatedName("ec")
|
||||
@Implements("Skeleton")
|
||||
public class Skeleton extends Node {
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedName("w")
|
||||
static int[] field1788;
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -567509563
|
||||
intValue = -1887621735
|
||||
)
|
||||
@Export("id")
|
||||
int id;
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 774941897
|
||||
intValue = 1674197883
|
||||
)
|
||||
@Export("count")
|
||||
int count;
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedName("b")
|
||||
@Export("transformTypes")
|
||||
int[] transformTypes;
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedName("g")
|
||||
@Export("labels")
|
||||
int[][] labels;
|
||||
|
||||
@@ -51,38 +53,51 @@ public class Skeleton extends Node {
|
||||
|
||||
}
|
||||
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(I)Lbw;",
|
||||
garbageValue = "25013403"
|
||||
signature = "([BI)V",
|
||||
garbageValue = "870610960"
|
||||
)
|
||||
static ClientPreferences method3201() {
|
||||
AccessFile var0 = null;
|
||||
ClientPreferences var1 = new ClientPreferences();
|
||||
|
||||
try {
|
||||
var0 = CollisionMap.getPreferencesFile("", MouseHandler.field458.name, false);
|
||||
byte[] var2 = new byte[(int)var0.length()];
|
||||
|
||||
int var4;
|
||||
for (int var3 = 0; var3 < var2.length; var3 += var4) {
|
||||
var4 = var0.read(var2, var3, var2.length - var3);
|
||||
if (var4 == -1) {
|
||||
throw new IOException();
|
||||
@Export("ByteArrayPool_release")
|
||||
public static synchronized void ByteArrayPool_release(byte[] var0) {
|
||||
if (var0.length == 100 && ByteArrayPool.ByteArrayPool_smallCount < 1000) {
|
||||
ByteArrayPool.ByteArrayPool_small[++ByteArrayPool.ByteArrayPool_smallCount - 1] = var0;
|
||||
} else if (var0.length == 5000 && ByteArrayPool.ByteArrayPool_mediumCount < 250) {
|
||||
ByteArrayPool.ByteArrayPool_medium[++ByteArrayPool.ByteArrayPool_mediumCount - 1] = var0;
|
||||
} else if (var0.length == 30000 && ByteArrayPool.ByteArrayPool_largeCount < 50) {
|
||||
ByteArrayPool.ByteArrayPool_large[++ByteArrayPool.ByteArrayPool_largeCount - 1] = var0;
|
||||
} else {
|
||||
if (ByteArrayPool.ByteArrayPool_arrays != null) {
|
||||
for (int var1 = 0; var1 < WorldMapSprite.ByteArrayPool_alternativeSizes.length; ++var1) {
|
||||
if (var0.length == WorldMapSprite.ByteArrayPool_alternativeSizes[var1] && class216.ByteArrayPool_altSizeArrayCounts[var1] < ByteArrayPool.ByteArrayPool_arrays[var1].length) {
|
||||
ByteArrayPool.ByteArrayPool_arrays[var1][class216.ByteArrayPool_altSizeArrayCounts[var1]++] = var0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var1 = new ClientPreferences(new Buffer(var2));
|
||||
} catch (Exception var6) {
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
if (var0 != null) {
|
||||
var0.close();
|
||||
}
|
||||
} catch (Exception var5) {
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(ILci;ZI)I",
|
||||
garbageValue = "-1324781775"
|
||||
)
|
||||
static int method3107(int var0, Script var1, boolean var2) {
|
||||
if (var0 == ScriptOpcodes.SOUND_SYNTH) {
|
||||
GrandExchangeOfferTotalQuantityComparator.Interpreter_intStackSize -= 3;
|
||||
FileSystem.queueSoundEffect(Interpreter.Interpreter_intStack[GrandExchangeOfferTotalQuantityComparator.Interpreter_intStackSize], Interpreter.Interpreter_intStack[GrandExchangeOfferTotalQuantityComparator.Interpreter_intStackSize + 1], Interpreter.Interpreter_intStack[GrandExchangeOfferTotalQuantityComparator.Interpreter_intStackSize + 2]);
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.SOUND_SONG) {
|
||||
AttackOption.playSong(Interpreter.Interpreter_intStack[--GrandExchangeOfferTotalQuantityComparator.Interpreter_intStackSize]);
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.SOUND_JINGLE) {
|
||||
GrandExchangeOfferTotalQuantityComparator.Interpreter_intStackSize -= 2;
|
||||
MouseHandler.playSoundJingle(Interpreter.Interpreter_intStack[GrandExchangeOfferTotalQuantityComparator.Interpreter_intStackSize], Interpreter.Interpreter_intStack[GrandExchangeOfferTotalQuantityComparator.Interpreter_intStackSize + 1]);
|
||||
return 1;
|
||||
} else {
|
||||
return 2;
|
||||
}
|
||||
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user