project: rev 195

This commit is contained in:
ThatGamerBlue
2021-04-14 13:14:08 +01:00
parent 05ff44d4ad
commit c9d40d93dd
439 changed files with 55170 additions and 51182 deletions

View File

@@ -1,30 +1,30 @@
import java.util.Comparator;
import net.runelite.mapping.Export;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
import net.runelite.rs.ScriptOpcodes;
@ObfuscatedName("jh")
@ObfuscatedName("ll")
@Implements("AbstractUserComparator")
public abstract class AbstractUserComparator implements Comparator {
@ObfuscatedName("lf")
@ObfuscatedGetter(
intValue = -1144052371
@ObfuscatedName("bk")
@ObfuscatedSignature(
descriptor = "Lmf;"
)
@Export("menuY")
static int menuY;
@ObfuscatedName("v")
@Export("loginType")
static LoginType loginType;
@ObfuscatedName("o")
@Export("nextComparator")
Comparator nextComparator;
protected AbstractUserComparator() {
} // L: 8
@ObfuscatedName("l")
@ObfuscatedName("n")
@ObfuscatedSignature(
descriptor = "(Ljava/util/Comparator;I)V",
garbageValue = "1135766594"
garbageValue = "-1553050282"
)
@Export("addComparator")
final void addComparator(Comparator var1) {
@@ -36,10 +36,10 @@ public abstract class AbstractUserComparator implements Comparator {
} // L: 17
@ObfuscatedName("s")
@ObfuscatedName("l")
@ObfuscatedSignature(
descriptor = "(Ljn;Ljn;B)I",
garbageValue = "0"
descriptor = "(Llt;Llt;I)I",
garbageValue = "833589834"
)
@Export("compareUser")
protected final int compareUser(User var1, User var2) {
@@ -50,26 +50,43 @@ public abstract class AbstractUserComparator implements Comparator {
return super.equals(var1); // L: 25
}
@ObfuscatedName("n")
@ObfuscatedName("f")
static double method5714(double var0) {
return Math.exp(-var0 * var0 / 2.0D) / Math.sqrt(6.283185307179586D); // L: 9
}
@ObfuscatedName("z")
@ObfuscatedSignature(
descriptor = "(II)Lis;",
garbageValue = "1543064609"
descriptor = "(ILcc;ZI)I",
garbageValue = "1686681071"
)
@Export("SpotAnimationDefinition_get")
public static SpotAnimationDefinition SpotAnimationDefinition_get(int var0) {
SpotAnimationDefinition var1 = (SpotAnimationDefinition)SpotAnimationDefinition.SpotAnimationDefinition_cached.get((long)var0); // L: 32
if (var1 != null) { // L: 33
return var1;
static int method5710(int var0, Script var1, boolean var2) {
Widget var3 = class139.getWidget(Interpreter.Interpreter_intStack[--class16.Interpreter_intStackSize]); // L: 1375
if (var0 == ScriptOpcodes.IF_GETTARGETMASK) { // L: 1376
Interpreter.Interpreter_intStack[++class16.Interpreter_intStackSize - 1] = class223.Widget_unpackTargetMask(DirectByteArrayCopier.getWidgetFlags(var3)); // L: 1377
return 1; // L: 1378
} else if (var0 != ScriptOpcodes.IF_GETOP) { // L: 1380
if (var0 == ScriptOpcodes.IF_GETOPBASE) { // L: 1387
if (var3.dataText == null) { // L: 1388
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = "";
} else {
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = var3.dataText; // L: 1389
}
return 1; // L: 1390
} else {
return 2; // L: 1392
}
} else {
byte[] var2 = SpotAnimationDefinition.SpotAnimationDefinition_archive.takeFile(13, var0); // L: 34
var1 = new SpotAnimationDefinition(); // L: 35
var1.id = var0; // L: 36
if (var2 != null) { // L: 37
var1.decode(new Buffer(var2));
int var4 = Interpreter.Interpreter_intStack[--class16.Interpreter_intStackSize]; // L: 1381
--var4; // L: 1382
if (var3.actions != null && var4 < var3.actions.length && var3.actions[var4] != null) { // L: 1383
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = var3.actions[var4]; // L: 1384
} else {
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = "";
}
SpotAnimationDefinition.SpotAnimationDefinition_cached.put(var1, (long)var0); // L: 38
return var1; // L: 39
return 1; // L: 1385
}
}
}