chore: rev 190

This commit is contained in:
ThatGamerBlue
2020-06-18 12:15:38 +01:00
parent c97f7b196e
commit 655106b9df
351 changed files with 41484 additions and 41558 deletions

View File

@@ -3,49 +3,38 @@ import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
import net.runelite.rs.Reflection;
@ObfuscatedName("kl")
@ObfuscatedName("kh")
@Implements("ByteArrayPool")
public class ByteArrayPool {
@ObfuscatedName("x")
@ObfuscatedName("m")
@ObfuscatedGetter(
intValue = 1085221259
intValue = -1047368171
)
@Export("ByteArrayPool_smallCount")
static int ByteArrayPool_smallCount;
@ObfuscatedName("m")
@ObfuscatedName("o")
@ObfuscatedGetter(
intValue = -1727061429
intValue = 404509009
)
@Export("ByteArrayPool_mediumCount")
static int ByteArrayPool_mediumCount;
@ObfuscatedName("k")
@ObfuscatedName("q")
@ObfuscatedGetter(
intValue = 13537333
intValue = 294344847
)
@Export("ByteArrayPool_largeCount")
static int ByteArrayPool_largeCount;
@ObfuscatedName("d")
@ObfuscatedName("j")
@Export("ByteArrayPool_small")
static byte[][] ByteArrayPool_small;
@ObfuscatedName("w")
@ObfuscatedName("p")
@Export("ByteArrayPool_medium")
static byte[][] ByteArrayPool_medium;
@ObfuscatedName("v")
@ObfuscatedName("g")
@Export("ByteArrayPool_large")
static byte[][] ByteArrayPool_large;
@ObfuscatedName("z")
@Export("ByteArrayPool_altSizeArrayCounts")
public static int[] ByteArrayPool_altSizeArrayCounts;
@ObfuscatedName("t")
@Export("ByteArrayPool_arrays")
public static byte[][][] ByteArrayPool_arrays;
@ObfuscatedName("kv")
@ObfuscatedSignature(
signature = "Lbi;"
)
@Export("localPlayer")
static Player localPlayer;
static {
ByteArrayPool_smallCount = 0;
@@ -56,10 +45,10 @@ public class ByteArrayPool {
ByteArrayPool_large = new byte[50][];
}
@ObfuscatedName("x")
@ObfuscatedName("o")
@ObfuscatedSignature(
signature = "(IZI)[B",
garbageValue = "1813888671"
garbageValue = "1801183295"
)
@Export("ByteArrayPool_getArrayBool")
static synchronized byte[] ByteArrayPool_getArrayBool(int var0, boolean var1) {
@@ -91,14 +80,14 @@ public class ByteArrayPool {
return var2;
}
if (ByteArrayPool_arrays != null) {
for (int var4 = 0; var4 < RunException.ByteArrayPool_alternativeSizes.length; ++var4) {
if (RunException.ByteArrayPool_alternativeSizes[var4] != var0) {
if (var0 < RunException.ByteArrayPool_alternativeSizes[var4]) {
if (Fonts.ByteArrayPool_arrays != null) {
for (int var4 = 0; var4 < ParamDefinition.ByteArrayPool_alternativeSizes.length; ++var4) {
if (ParamDefinition.ByteArrayPool_alternativeSizes[var4] != var0) {
if (var0 < ParamDefinition.ByteArrayPool_alternativeSizes[var4]) {
}
} else if (ByteArrayPool_altSizeArrayCounts[var4] > 0) {
byte[] var3 = ByteArrayPool_arrays[var4][--ByteArrayPool_altSizeArrayCounts[var4]];
ByteArrayPool_arrays[var4][ByteArrayPool_altSizeArrayCounts[var4]] = null;
} else if (VarbitDefinition.ByteArrayPool_altSizeArrayCounts[var4] > 0) {
byte[] var3 = Fonts.ByteArrayPool_arrays[var4][--VarbitDefinition.ByteArrayPool_altSizeArrayCounts[var4]];
Fonts.ByteArrayPool_arrays[var4][VarbitDefinition.ByteArrayPool_altSizeArrayCounts[var4]] = null;
return var3;
}
}
@@ -106,4 +95,32 @@ public class ByteArrayPool {
return new byte[var0];
}
@ObfuscatedName("p")
@ObfuscatedSignature(
signature = "(Ljava/lang/String;B)Ljava/lang/Class;",
garbageValue = "28"
)
@Export("loadClassFromDescriptor")
static Class loadClassFromDescriptor(String var0) throws ClassNotFoundException {
if (var0.equals("B")) {
return Byte.TYPE;
} else if (var0.equals("I")) {
return Integer.TYPE;
} else if (var0.equals("S")) {
return Short.TYPE;
} else if (var0.equals("J")) {
return Long.TYPE;
} else if (var0.equals("Z")) {
return Boolean.TYPE;
} else if (var0.equals("F")) {
return Float.TYPE;
} else if (var0.equals("D")) {
return Double.TYPE;
} else if (var0.equals("C")) {
return Character.TYPE;
} else {
return var0.equals("void") ? Void.TYPE : Reflection.findClass(var0);
}
}
}