project: Rev update
This commit is contained in:
@@ -1,160 +1,83 @@
|
||||
import net.runelite.mapping.Export;
|
||||
import net.runelite.mapping.ObfuscatedGetter;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
import net.runelite.rs.ScriptOpcodes;
|
||||
|
||||
@ObfuscatedName("bs")
|
||||
@ObfuscatedName("bb")
|
||||
public class class65 extends RouteStrategy {
|
||||
@ObfuscatedName("sp")
|
||||
@ObfuscatedGetter(
|
||||
longValue = -1800768745141065643L
|
||||
)
|
||||
static long field604;
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 44255735
|
||||
)
|
||||
static int field603;
|
||||
|
||||
class65() {
|
||||
}
|
||||
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(IIILfm;B)Z",
|
||||
garbageValue = "16"
|
||||
signature = "(IIILfh;B)Z",
|
||||
garbageValue = "-103"
|
||||
)
|
||||
@Export("hasArrived")
|
||||
protected boolean hasArrived(int var1, int var2, int var3, CollisionMap var4) {
|
||||
return var2 == super.approxDestinationX && var3 == super.approxDestinationY;
|
||||
}
|
||||
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(II)Lie;",
|
||||
garbageValue = "-921951444"
|
||||
signature = "(Lhf;IIIZI)V",
|
||||
garbageValue = "-1389497499"
|
||||
)
|
||||
@Export("WorldMapElement_get")
|
||||
public static WorldMapElement WorldMapElement_get(int var0) {
|
||||
return var0 >= 0 && var0 < GrandExchangeOfferTotalQuantityComparator.WorldMapElement_cached.length && GrandExchangeOfferTotalQuantityComparator.WorldMapElement_cached[var0] != null ? GrandExchangeOfferTotalQuantityComparator.WorldMapElement_cached[var0] : new WorldMapElement(var0);
|
||||
@Export("playMusicTrack")
|
||||
public static void playMusicTrack(AbstractArchive var0, int var1, int var2, int var3, boolean var4) {
|
||||
class197.field2411 = 1;
|
||||
class197.musicTrackArchive = var0;
|
||||
UrlRequester.musicTrackGroupId = var1;
|
||||
UserComparator7.musicTrackFileId = var2;
|
||||
class197.musicTrackVolume = var3;
|
||||
ArchiveLoader.musicTrackBoolean = var4;
|
||||
class335.field4014 = 10000;
|
||||
}
|
||||
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(ILcj;ZB)I",
|
||||
garbageValue = "0"
|
||||
signature = "(Ljava/lang/String;I)V",
|
||||
garbageValue = "1885600103"
|
||||
)
|
||||
static int method1321(int var0, Script var1, boolean var2) {
|
||||
int var3;
|
||||
int var4;
|
||||
if (var0 == ScriptOpcodes.CC_CREATE) {
|
||||
Interpreter.Interpreter_intStackSize -= 3;
|
||||
var3 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize];
|
||||
var4 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1];
|
||||
int var5 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 2];
|
||||
if (var4 == 0) {
|
||||
throw new RuntimeException();
|
||||
static final void method1244(String var0) {
|
||||
WorldMapSection2.method347(var0 + " is already on your friend list");
|
||||
}
|
||||
|
||||
@ObfuscatedName("iq")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(IIIIIIIII)V",
|
||||
garbageValue = "-1636724870"
|
||||
)
|
||||
@Export("drawWidgets")
|
||||
static final void drawWidgets(int var0, int var1, int var2, int var3, int var4, int var5, int var6, int var7) {
|
||||
if (UserComparator3.loadInterface(var0)) {
|
||||
class4.field22 = null;
|
||||
class40.drawInterface(FloorDecoration.Widget_interfaceComponents[var0], -1, var1, var2, var3, var4, var5, var6, var7);
|
||||
if (class4.field22 != null) {
|
||||
class40.drawInterface(class4.field22, -1412584499, var1, var2, var3, var4, WorldMapSection2.field200, TilePaint.field1782, var7);
|
||||
class4.field22 = null;
|
||||
}
|
||||
|
||||
} else {
|
||||
if (var7 != -1) {
|
||||
Client.field847[var7] = true;
|
||||
} else {
|
||||
Widget var6 = PacketBufferNode.getWidget(var3);
|
||||
if (var6.children == null) {
|
||||
var6.children = new Widget[var5 + 1];
|
||||
}
|
||||
|
||||
if (var6.children.length <= var5) {
|
||||
Widget[] var7 = new Widget[var5 + 1];
|
||||
|
||||
for (int var8 = 0; var8 < var6.children.length; ++var8) {
|
||||
var7[var8] = var6.children[var8];
|
||||
}
|
||||
|
||||
var6.children = var7;
|
||||
}
|
||||
|
||||
if (var5 > 0 && var6.children[var5 - 1] == null) {
|
||||
throw new RuntimeException("" + (var5 - 1));
|
||||
} else {
|
||||
Widget var12 = new Widget();
|
||||
var12.type = var4;
|
||||
var12.parentId = var12.id = var6.id;
|
||||
var12.childIndex = var5;
|
||||
var12.isIf3 = true;
|
||||
var6.children[var5] = var12;
|
||||
if (var2) {
|
||||
class96.field1301 = var12;
|
||||
} else {
|
||||
ReflectionCheck.field1310 = var12;
|
||||
}
|
||||
|
||||
GrandExchangeOfferAgeComparator.invalidateWidget(var6);
|
||||
return 1;
|
||||
for (int var8 = 0; var8 < 100; ++var8) {
|
||||
Client.field847[var8] = true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
Widget var9;
|
||||
if (var0 == ScriptOpcodes.CC_DELETE) {
|
||||
var9 = var2 ? class96.field1301 : ReflectionCheck.field1310;
|
||||
Widget var10 = PacketBufferNode.getWidget(var9.id);
|
||||
var10.children[var9.childIndex] = null;
|
||||
GrandExchangeOfferAgeComparator.invalidateWidget(var10);
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.CC_DELETEALL) {
|
||||
var9 = PacketBufferNode.getWidget(Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]);
|
||||
var9.children = null;
|
||||
GrandExchangeOfferAgeComparator.invalidateWidget(var9);
|
||||
return 1;
|
||||
} else if (var0 != ScriptOpcodes.CC_FIND) {
|
||||
if (var0 == ScriptOpcodes.IF_FIND) {
|
||||
var9 = PacketBufferNode.getWidget(Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]);
|
||||
if (var9 != null) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 1;
|
||||
if (var2) {
|
||||
class96.field1301 = var9;
|
||||
} else {
|
||||
ReflectionCheck.field1310 = var9;
|
||||
}
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else {
|
||||
return 2;
|
||||
}
|
||||
} else {
|
||||
Interpreter.Interpreter_intStackSize -= 2;
|
||||
var3 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize];
|
||||
var4 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1];
|
||||
Widget var11 = ArchiveLoader.getWidgetChild(var3, var4);
|
||||
if (var11 != null && var4 != -1) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 1;
|
||||
if (var2) {
|
||||
class96.field1301 = var11;
|
||||
} else {
|
||||
ReflectionCheck.field1310 = var11;
|
||||
}
|
||||
} else {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(II)I",
|
||||
garbageValue = "732649186"
|
||||
)
|
||||
@Export("Messages_getLastChatID")
|
||||
static int Messages_getLastChatID(int var0) {
|
||||
Message var1 = (Message)Messages.Messages_hashTable.get((long)var0);
|
||||
if (var1 == null) {
|
||||
return -1;
|
||||
} else {
|
||||
return var1.nextDual == Messages.Messages_queue.sentinel ? -1 : ((Message)var1.nextDual).count;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("it")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(II)Ljava/lang/String;",
|
||||
garbageValue = "1231454629"
|
||||
)
|
||||
static String method1316(int var0) {
|
||||
if (var0 < 0) {
|
||||
return "";
|
||||
} else {
|
||||
return Client.menuTargets[var0].length() > 0 ? Client.menuActions[var0] + " " + Client.menuTargets[var0] : Client.menuActions[var0];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user