rev187
This commit is contained in:
@@ -4,37 +4,40 @@ import net.runelite.mapping.ObfuscatedGetter;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("kv")
|
||||
@ObfuscatedName("kj")
|
||||
@Implements("ByteArrayPool")
|
||||
public class ByteArrayPool {
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 153239603
|
||||
intValue = -210161975
|
||||
)
|
||||
@Export("ByteArrayPool_smallCount")
|
||||
static int ByteArrayPool_smallCount;
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -433125971
|
||||
intValue = 1380698397
|
||||
)
|
||||
@Export("ByteArrayPool_mediumCount")
|
||||
static int ByteArrayPool_mediumCount;
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1031778889
|
||||
intValue = 750629749
|
||||
)
|
||||
@Export("ByteArrayPool_largeCount")
|
||||
static int ByteArrayPool_largeCount;
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedName("w")
|
||||
@Export("ByteArrayPool_small")
|
||||
static byte[][] ByteArrayPool_small;
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedName("p")
|
||||
@Export("ByteArrayPool_medium")
|
||||
static byte[][] ByteArrayPool_medium;
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedName("b")
|
||||
@Export("ByteArrayPool_large")
|
||||
static byte[][] ByteArrayPool_large;
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedName("e")
|
||||
@Export("ByteArrayPool_alternativeSizes")
|
||||
static int[] ByteArrayPool_alternativeSizes;
|
||||
@ObfuscatedName("a")
|
||||
@Export("ByteArrayPool_arrays")
|
||||
static byte[][][] ByteArrayPool_arrays;
|
||||
|
||||
@@ -48,9 +51,36 @@ public class ByteArrayPool {
|
||||
}
|
||||
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(I[BLkg;B)V",
|
||||
garbageValue = "107"
|
||||
)
|
||||
static void method5805(int var0, byte[] var1, ArchiveDisk var2) {
|
||||
ArchiveDiskAction var3 = new ArchiveDiskAction();
|
||||
var3.type = 0;
|
||||
var3.key = (long)var0;
|
||||
var3.data = var1;
|
||||
var3.archiveDisk = var2;
|
||||
synchronized(ArchiveDiskActionHandler.ArchiveDiskActionHandler_requestQueue) {
|
||||
ArchiveDiskActionHandler.ArchiveDiskActionHandler_requestQueue.addFirst(var3);
|
||||
}
|
||||
|
||||
synchronized(ArchiveDiskActionHandler.ArchiveDiskActionHandler_lock) {
|
||||
if (ArchiveDiskActionHandler.field3120 == 0) {
|
||||
ArchiveDiskActionHandler.ArchiveDiskActionHandler_thread = new Thread(new ArchiveDiskActionHandler());
|
||||
ArchiveDiskActionHandler.ArchiveDiskActionHandler_thread.setDaemon(true);
|
||||
ArchiveDiskActionHandler.ArchiveDiskActionHandler_thread.start();
|
||||
ArchiveDiskActionHandler.ArchiveDiskActionHandler_thread.setPriority(5);
|
||||
}
|
||||
|
||||
ArchiveDiskActionHandler.field3120 = 600;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(IZI)[B",
|
||||
garbageValue = "-2110348593"
|
||||
garbageValue = "877934718"
|
||||
)
|
||||
@Export("ByteArrayPool_getArrayBool")
|
||||
static synchronized byte[] ByteArrayPool_getArrayBool(int var0, boolean var1) {
|
||||
@@ -83,13 +113,13 @@ public class ByteArrayPool {
|
||||
}
|
||||
|
||||
if (ByteArrayPool_arrays != null) {
|
||||
for (int var4 = 0; var4 < WorldMapSprite.ByteArrayPool_alternativeSizes.length; ++var4) {
|
||||
if (WorldMapSprite.ByteArrayPool_alternativeSizes[var4] != var0) {
|
||||
if (var0 < WorldMapSprite.ByteArrayPool_alternativeSizes[var4]) {
|
||||
for (int var4 = 0; var4 < ByteArrayPool_alternativeSizes.length; ++var4) {
|
||||
if (ByteArrayPool_alternativeSizes[var4] != var0) {
|
||||
if (var0 < ByteArrayPool_alternativeSizes[var4]) {
|
||||
}
|
||||
} else if (class216.ByteArrayPool_altSizeArrayCounts[var4] > 0) {
|
||||
byte[] var3 = ByteArrayPool_arrays[var4][--class216.ByteArrayPool_altSizeArrayCounts[var4]];
|
||||
ByteArrayPool_arrays[var4][class216.ByteArrayPool_altSizeArrayCounts[var4]] = null;
|
||||
} else if (Interpreter.ByteArrayPool_altSizeArrayCounts[var4] > 0) {
|
||||
byte[] var3 = ByteArrayPool_arrays[var4][--Interpreter.ByteArrayPool_altSizeArrayCounts[var4]];
|
||||
ByteArrayPool_arrays[var4][Interpreter.ByteArrayPool_altSizeArrayCounts[var4]] = null;
|
||||
return var3;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user