chore: rev 193

This commit is contained in:
therealunull
2020-12-09 11:07:26 -05:00
parent 5cd865f43f
commit 8f587826ee
358 changed files with 62074 additions and 62020 deletions

View File

@@ -4,103 +4,94 @@ import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("ln")
@ObfuscatedName("lt")
@Implements("ByteArrayPool")
public class ByteArrayPool {
@ObfuscatedName("f")
@ObfuscatedName("h")
@ObfuscatedGetter(
intValue = 1202056679
intValue = 400072039
)
@Export("ByteArrayPool_smallCount")
static int ByteArrayPool_smallCount;
@ObfuscatedName("b")
@ObfuscatedName("v")
@ObfuscatedGetter(
intValue = -2063240013
intValue = -692172719
)
@Export("ByteArrayPool_mediumCount")
static int ByteArrayPool_mediumCount;
@ObfuscatedName("l")
@ObfuscatedName("x")
@ObfuscatedGetter(
intValue = -1967432073
intValue = -774539929
)
@Export("ByteArrayPool_largeCount")
static int ByteArrayPool_largeCount;
@ObfuscatedName("m")
@ObfuscatedName("w")
@Export("ByteArrayPool_small")
static byte[][] ByteArrayPool_small;
@ObfuscatedName("z")
@ObfuscatedName("t")
@Export("ByteArrayPool_medium")
static byte[][] ByteArrayPool_medium;
@ObfuscatedName("q")
@ObfuscatedName("j")
@Export("ByteArrayPool_large")
static byte[][] ByteArrayPool_large;
@ObfuscatedName("u")
@Export("ByteArrayPool_arrays")
static byte[][][] ByteArrayPool_arrays;
@ObfuscatedName("ap")
@Export("client")
@ObfuscatedSignature(
descriptor = "Lclient;"
)
static Client client;
static {
ByteArrayPool_smallCount = 0; // L: 4
ByteArrayPool_mediumCount = 0; // L: 5
ByteArrayPool_largeCount = 0; // L: 6
ByteArrayPool_small = new byte[1000][]; // L: 7
ByteArrayPool_medium = new byte[250][]; // L: 8
ByteArrayPool_large = new byte[50][]; // L: 9
ByteArrayPool_smallCount = 0;
ByteArrayPool_mediumCount = 0;
ByteArrayPool_largeCount = 0;
ByteArrayPool_small = new byte[1000][];
ByteArrayPool_medium = new byte[250][];
ByteArrayPool_large = new byte[50][];
}
@ObfuscatedName("b")
@ObfuscatedName("h")
@ObfuscatedSignature(
descriptor = "(IZI)[B",
garbageValue = "-1957443325"
descriptor = "(IZB)[B",
garbageValue = "1"
)
@Export("ByteArrayPool_getArrayBool")
static synchronized byte[] ByteArrayPool_getArrayBool(int var0, boolean var1) {
byte[] var4;
if (var0 != 100) { // L: 35
if (var0 != 100) {
if (var0 < 100) {
}
} else if (ByteArrayPool_smallCount > 0) {
var4 = ByteArrayPool_small[--ByteArrayPool_smallCount]; // L: 36
ByteArrayPool_small[ByteArrayPool_smallCount] = null; // L: 37
return var4; // L: 38
var4 = ByteArrayPool_small[--ByteArrayPool_smallCount];
ByteArrayPool_small[ByteArrayPool_smallCount] = null;
return var4;
}
if (var0 != 5000) { // L: 40
if (var0 != 5000) {
if (var0 < 5000) {
}
} else if (ByteArrayPool_mediumCount > 0) {
var4 = ByteArrayPool_medium[--ByteArrayPool_mediumCount]; // L: 41
ByteArrayPool_medium[ByteArrayPool_mediumCount] = null; // L: 42
return var4; // L: 43
var4 = ByteArrayPool_medium[--ByteArrayPool_mediumCount];
ByteArrayPool_medium[ByteArrayPool_mediumCount] = null;
return var4;
}
if (var0 != 30000) { // L: 45
if (var0 != 30000) {
if (var0 < 30000) {
}
} else if (ByteArrayPool_largeCount > 0) {
var4 = ByteArrayPool_large[--ByteArrayPool_largeCount]; // L: 46
ByteArrayPool_large[ByteArrayPool_largeCount] = null; // L: 47
return var4; // L: 48
var4 = ByteArrayPool_large[--ByteArrayPool_largeCount];
ByteArrayPool_large[ByteArrayPool_largeCount] = null;
return var4;
}
if (ByteArrayPool_arrays != null) { // L: 50
for (int var2 = 0; var2 < Coord.ByteArrayPool_alternativeSizes.length; ++var2) { // L: 51
if (Coord.ByteArrayPool_alternativeSizes[var2] != var0) { // L: 52
if (var0 < Coord.ByteArrayPool_alternativeSizes[var2]) {
if (class23.ByteArrayPool_arrays != null) {
for (int var2 = 0; var2 < SoundCache.ByteArrayPool_alternativeSizes.length; ++var2) {
if (SoundCache.ByteArrayPool_alternativeSizes[var2] != var0) {
if (var0 < SoundCache.ByteArrayPool_alternativeSizes[var2]) {
}
} else if (FloorDecoration.ByteArrayPool_altSizeArrayCounts[var2] > 0) {
byte[] var3 = ByteArrayPool_arrays[var2][--FloorDecoration.ByteArrayPool_altSizeArrayCounts[var2]]; // L: 53
ByteArrayPool_arrays[var2][FloorDecoration.ByteArrayPool_altSizeArrayCounts[var2]] = null; // L: 54
return var3; // L: 55
} else if (JagexCache.ByteArrayPool_altSizeArrayCounts[var2] > 0) {
byte[] var3 = class23.ByteArrayPool_arrays[var2][--JagexCache.ByteArrayPool_altSizeArrayCounts[var2]];
class23.ByteArrayPool_arrays[var2][JagexCache.ByteArrayPool_altSizeArrayCounts[var2]] = null;
return var3;
}
}
}
return new byte[var0]; // L: 68
return new byte[var0];
}
}