project: Rev 204

This commit is contained in:
Owain van Brakel
2022-03-23 14:15:28 +01:00
parent 14d41dd9a4
commit 3834b46aee
532 changed files with 61751 additions and 59895 deletions

View File

@@ -6,167 +6,148 @@ import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("mq")
@ObfuscatedName("me")
@Implements("ByteArrayPool")
public class ByteArrayPool {
@ObfuscatedName("r")
@ObfuscatedName("l")
@ObfuscatedGetter(
intValue = -1690986053
intValue = -2135689981
)
@Export("ByteArrayPool_smallCount")
static int ByteArrayPool_smallCount;
@ObfuscatedName("o")
@ObfuscatedName("n")
@ObfuscatedGetter(
intValue = -2143429099
intValue = 742427787
)
@Export("ByteArrayPool_mediumCount")
static int ByteArrayPool_mediumCount;
@ObfuscatedName("i")
@ObfuscatedName("d")
@ObfuscatedGetter(
intValue = -1419473161
intValue = 557846703
)
@Export("ByteArrayPool_largeCount")
static int ByteArrayPool_largeCount;
@ObfuscatedName("w")
@ObfuscatedName("f")
@ObfuscatedGetter(
intValue = -853735569
intValue = 257291791
)
static int field4072;
@ObfuscatedName("v")
@ObfuscatedGetter(
intValue = 2007909183
)
static int field4073;
@ObfuscatedName("a")
@ObfuscatedGetter(
intValue = -957572747
)
static int field4074;
@ObfuscatedName("y")
@ObfuscatedGetter(
intValue = -816148267
)
static int field4071;
static int field4169;
@ObfuscatedName("u")
@ObfuscatedGetter(
intValue = -2026598395
intValue = -1915977333
)
static int field4076;
@ObfuscatedName("h")
static int field4178;
@ObfuscatedName("r")
@ObfuscatedGetter(
intValue = -971009911
)
static int field4165;
@ObfuscatedName("k")
@ObfuscatedGetter(
intValue = 507582471
)
static int field4172;
@ObfuscatedName("x")
@ObfuscatedGetter(
intValue = 1120130659
)
static int field4177;
@ObfuscatedName("c")
@Export("ByteArrayPool_small")
static byte[][] ByteArrayPool_small;
@ObfuscatedName("q")
@ObfuscatedName("j")
@Export("ByteArrayPool_medium")
static byte[][] ByteArrayPool_medium;
@ObfuscatedName("x")
@ObfuscatedName("p")
@Export("ByteArrayPool_large")
static byte[][] ByteArrayPool_large;
@ObfuscatedName("p")
static byte[][] field4080;
@ObfuscatedName("n")
@ObfuscatedName("s")
static byte[][] field4166;
@ObfuscatedName("b")
@Export("ByteArrayPool_alternativeSizes")
public static int[] ByteArrayPool_alternativeSizes;
@ObfuscatedName("j")
public static ArrayList field4083;
@ObfuscatedName("ot")
@ObfuscatedGetter(
intValue = -908422523
)
@Export("widgetDragDuration")
static int widgetDragDuration;
@ObfuscatedName("m")
public static ArrayList field4173;
static {
ByteArrayPool_smallCount = 0; // L: 13
ByteArrayPool_mediumCount = 0; // L: 14
ByteArrayPool_largeCount = 0; // L: 15
field4072 = 0; // L: 16
field4073 = 1000; // L: 17
field4074 = 250; // L: 18
field4071 = 100; // L: 19
field4076 = 50; // L: 20
field4169 = 0; // L: 16
field4178 = 1000; // L: 17
field4165 = 250; // L: 18
field4172 = 100; // L: 19
field4177 = 50; // L: 20
ByteArrayPool_small = new byte[1000][]; // L: 21
ByteArrayPool_medium = new byte[250][]; // L: 22
ByteArrayPool_large = new byte[100][]; // L: 23
field4080 = new byte[50][]; // L: 24
field4083 = new ArrayList(); // L: 28
NetCache.method5677(); // L: 31
field4166 = new byte[50][]; // L: 24
field4173 = new ArrayList(); // L: 28
field4173.clear(); // L: 32
field4173.add(100); // L: 33
field4173.add(5000); // L: 34
field4173.add(10000); // L: 35
field4173.add(30000); // L: 36
new HashMap();
} // L: 36
} // L: 42
@ObfuscatedName("l")
@ObfuscatedName("v")
@ObfuscatedSignature(
descriptor = "(IZB)[B",
garbageValue = "50"
garbageValue = "68"
)
@Export("ByteArrayPool_getArrayBool")
static synchronized byte[] ByteArrayPool_getArrayBool(int var0, boolean var1) {
byte[] var4;
if (var0 != 100) { // L: 52
if (var0 != 100) { // L: 50
if (var0 < 100) {
}
} else if (ByteArrayPool_smallCount > 0) {
var4 = ByteArrayPool_small[--ByteArrayPool_smallCount]; // L: 53
ByteArrayPool_small[ByteArrayPool_smallCount] = null; // L: 54
return var4; // L: 55
var4 = ByteArrayPool_small[--ByteArrayPool_smallCount]; // L: 51
ByteArrayPool_small[ByteArrayPool_smallCount] = null; // L: 52
return var4; // L: 53
}
if (var0 != 5000) { // L: 57
if (var0 != 5000) { // L: 55
if (var0 < 5000) {
}
} else if (ByteArrayPool_mediumCount > 0) {
var4 = ByteArrayPool_medium[--ByteArrayPool_mediumCount]; // L: 58
ByteArrayPool_medium[ByteArrayPool_mediumCount] = null; // L: 59
return var4; // L: 60
var4 = ByteArrayPool_medium[--ByteArrayPool_mediumCount]; // L: 56
ByteArrayPool_medium[ByteArrayPool_mediumCount] = null; // L: 57
return var4; // L: 58
}
if (var0 != 10000) { // L: 62
if (var0 != 10000) { // L: 60
if (var0 < 10000) {
}
} else if (ByteArrayPool_largeCount > 0) {
var4 = ByteArrayPool_large[--ByteArrayPool_largeCount]; // L: 63
ByteArrayPool_large[ByteArrayPool_largeCount] = null; // L: 64
return var4; // L: 65
var4 = ByteArrayPool_large[--ByteArrayPool_largeCount]; // L: 61
ByteArrayPool_large[ByteArrayPool_largeCount] = null; // L: 62
return var4; // L: 63
}
if (var0 != 30000) { // L: 67
if (var0 != 30000) { // L: 65
if (var0 < 30000) {
}
} else if (field4072 > 0) {
var4 = field4080[--field4072]; // L: 68
field4080[field4072] = null; // L: 69
return var4; // L: 70
} else if (field4169 > 0) {
var4 = field4166[--field4169]; // L: 66
field4166[field4169] = null; // L: 67
return var4; // L: 68
}
if (class113.ByteArrayPool_arrays != null) { // L: 72
for (int var2 = 0; var2 < ByteArrayPool_alternativeSizes.length; ++var2) { // L: 73
if (ByteArrayPool_alternativeSizes[var2] != var0) { // L: 74
if (ScriptEvent.ByteArrayPool_arrays != null) { // L: 70
for (int var2 = 0; var2 < ByteArrayPool_alternativeSizes.length; ++var2) { // L: 71
if (ByteArrayPool_alternativeSizes[var2] != var0) { // L: 72
if (var0 < ByteArrayPool_alternativeSizes[var2]) {
}
} else if (ArchiveDiskActionHandler.ByteArrayPool_altSizeArrayCounts[var2] > 0) {
byte[] var3 = class113.ByteArrayPool_arrays[var2][--ArchiveDiskActionHandler.ByteArrayPool_altSizeArrayCounts[var2]]; // L: 75
class113.ByteArrayPool_arrays[var2][ArchiveDiskActionHandler.ByteArrayPool_altSizeArrayCounts[var2]] = null; // L: 76
return var3; // L: 77
} else if (GameObject.ByteArrayPool_altSizeArrayCounts[var2] > 0) {
byte[] var3 = ScriptEvent.ByteArrayPool_arrays[var2][--GameObject.ByteArrayPool_altSizeArrayCounts[var2]]; // L: 73
ScriptEvent.ByteArrayPool_arrays[var2][GameObject.ByteArrayPool_altSizeArrayCounts[var2]] = null; // L: 74
return var3; // L: 75
}
}
}
return new byte[var0]; // L: 90
}
@ObfuscatedName("l")
@ObfuscatedSignature(
descriptor = "(Ljava/lang/Throwable;Ljava/lang/String;)Lqy;"
)
@Export("newRunException")
public static RunException newRunException(Throwable var0, String var1) {
RunException var2;
if (var0 instanceof RunException) { // L: 99
var2 = (RunException)var0; // L: 100
var2.message = var2.message + ' ' + var1; // L: 101
} else {
var2 = new RunException(var0, var1); // L: 103
}
return var2; // L: 104
return new byte[var0]; // L: 88
}
}