project: rev 200

This commit is contained in:
Owain van Brakel
2021-10-06 13:56:56 +02:00
parent 9f1d58c2a6
commit 5e9375bc8b
429 changed files with 45223 additions and 44897 deletions

View File

@@ -1,19 +1,82 @@
import net.runelite.mapping.Export;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
import net.runelite.rs.ScriptOpcodes;
@ObfuscatedName("ji")
@ObfuscatedName("jw")
public class class279 {
@ObfuscatedName("ft")
@Export("worldHost")
static String worldHost;
@ObfuscatedName("n")
@ObfuscatedName("f")
@ObfuscatedSignature(
descriptor = "(Lkk;III)Loi;",
garbageValue = "-1377827748"
descriptor = "([BI)V",
garbageValue = "-176182481"
)
static IndexedSprite method5080(AbstractArchive var0, int var1, int var2) {
return !VertexNormal.method4477(var0, var1, var2) ? null : WorldMapAreaData.method3896();
@Export("ByteArrayPool_release")
public static synchronized void ByteArrayPool_release(byte[] var0) {
if (var0.length == 100 && ByteArrayPool.ByteArrayPool_smallCount < ByteArrayPool.field3891) {
ByteArrayPool.ByteArrayPool_small[++ByteArrayPool.ByteArrayPool_smallCount - 1] = var0;
} else if (var0.length == 5000 && ByteArrayPool.ByteArrayPool_mediumCount < ByteArrayPool.field3892) {
ByteArrayPool.ByteArrayPool_medium[++ByteArrayPool.ByteArrayPool_mediumCount - 1] = var0;
} else if (var0.length == 10000 && ByteArrayPool.ByteArrayPool_largeCount < ByteArrayPool.field3899) {
ByteArrayPool.ByteArrayPool_large[++ByteArrayPool.ByteArrayPool_largeCount - 1] = var0;
} else if (var0.length == 30000 && ByteArrayPool.field3890 < ByteArrayPool.field3897) {
ByteArrayPool.field3898[++ByteArrayPool.field3890 - 1] = var0;
} else {
if (class117.ByteArrayPool_arrays != null) {
for (int var1 = 0; var1 < GrandExchangeOfferUnitPriceComparator.ByteArrayPool_alternativeSizes.length; ++var1) {
if (var0.length == GrandExchangeOfferUnitPriceComparator.ByteArrayPool_alternativeSizes[var1] && Message.ByteArrayPool_altSizeArrayCounts[var1] < class117.ByteArrayPool_arrays[var1].length) {
class117.ByteArrayPool_arrays[var1][Message.ByteArrayPool_altSizeArrayCounts[var1]++] = var0;
return;
}
}
}
}
}
@ObfuscatedName("f")
@ObfuscatedSignature(
descriptor = "(Ljava/lang/CharSequence;I)I",
garbageValue = "1917653548"
)
public static int method5134(CharSequence var0) {
return Language.method5477(var0, 10, true);
}
@ObfuscatedName("z")
@ObfuscatedSignature(
descriptor = "(ILbe;ZI)I",
garbageValue = "-1269647448"
)
static int method5136(int var0, Script var1, boolean var2) {
Widget var5;
if (var0 == ScriptOpcodes.IF_GETINVOBJECT) {
var5 = HealthBarUpdate.getWidget(Interpreter.Interpreter_intStack[--AbstractByteArrayCopier.Interpreter_intStackSize]);
Interpreter.Interpreter_intStack[++AbstractByteArrayCopier.Interpreter_intStackSize - 1] = var5.itemId;
return 1;
} else if (var0 == ScriptOpcodes.IF_GETINVCOUNT) {
var5 = HealthBarUpdate.getWidget(Interpreter.Interpreter_intStack[--AbstractByteArrayCopier.Interpreter_intStackSize]);
if (var5.itemId != -1) {
Interpreter.Interpreter_intStack[++AbstractByteArrayCopier.Interpreter_intStackSize - 1] = var5.itemQuantity;
} else {
Interpreter.Interpreter_intStack[++AbstractByteArrayCopier.Interpreter_intStackSize - 1] = 0;
}
return 1;
} else if (var0 == ScriptOpcodes.IF_HASSUB) {
int var3 = Interpreter.Interpreter_intStack[--AbstractByteArrayCopier.Interpreter_intStackSize];
InterfaceParent var4 = (InterfaceParent)Client.interfaceParents.get((long)var3);
if (var4 != null) {
Interpreter.Interpreter_intStack[++AbstractByteArrayCopier.Interpreter_intStackSize - 1] = 1;
} else {
Interpreter.Interpreter_intStack[++AbstractByteArrayCopier.Interpreter_intStackSize - 1] = 0;
}
return 1;
} else if (var0 == ScriptOpcodes.IF_GETTOP) {
Interpreter.Interpreter_intStack[++AbstractByteArrayCopier.Interpreter_intStackSize - 1] = Client.rootInterface;
return 1;
} else {
return 2;
}
}
}