This commit is contained in:
Lucwousin
2019-10-31 16:57:45 +01:00
parent 8b7eaf23f1
commit e7a1983158
344 changed files with 41280 additions and 41078 deletions

View File

@@ -1,82 +1,470 @@
import java.awt.Component;
import java.net.URL;
import net.runelite.mapping.Export;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
import net.runelite.rs.ScriptOpcodes;
@ObfuscatedName("ae")
@ObfuscatedName("an")
public final class class43 {
@ObfuscatedName("dq")
@ObfuscatedName("t")
@ObfuscatedSignature(
signature = "Lky;"
signature = "Lhq;"
)
@Export("js5Socket")
static AbstractSocket js5Socket;
@ObfuscatedName("z")
@Export("KitDefinition_modelsArchive")
public static AbstractArchive KitDefinition_modelsArchive;
@ObfuscatedName("f")
static String field363;
@ObfuscatedName("fr")
@ObfuscatedSignature(
signature = "(Ljava/awt/Component;I)V",
garbageValue = "-416045608"
signature = "Lks;"
)
static void method838(Component var0) {
var0.addMouseListener(MouseHandler.MouseHandler_instance);
var0.addMouseMotionListener(MouseHandler.MouseHandler_instance);
var0.addFocusListener(MouseHandler.MouseHandler_instance);
}
@Export("fontBold12")
static Font fontBold12;
@ObfuscatedName("o")
@ObfuscatedName("a")
@ObfuscatedSignature(
signature = "(II)Ljava/lang/String;",
garbageValue = "1930428495"
signature = "(I)Z",
garbageValue = "2037455287"
)
static final String method839(int var0) {
if (var0 < 100000) {
return "<col=ffff00>" + var0 + "</col>";
} else {
return var0 < 10000000 ? "<col=ffffff>" + var0 / 1000 + "K" + "</col>" : "<col=00ff80>" + var0 / 1000000 + "M" + "</col>";
}
}
@Export("loadWorlds")
static boolean loadWorlds() {
try {
if (class96.World_request == null) {
class96.World_request = Skills.urlRequester.request(new URL(class335.field4016));
} else if (class96.World_request.isDone()) {
byte[] var0 = class96.World_request.getResponse();
Buffer var1 = new Buffer(var0);
var1.readInt();
World.World_count = var1.readUnsignedShort();
Username.World_worlds = new World[World.World_count];
@ObfuscatedName("jw")
@ObfuscatedSignature(
signature = "(Lho;I)Z",
garbageValue = "-1205677722"
)
static final boolean method840(Widget var0) {
int var1 = var0.contentType;
if (var1 == 205) {
Client.logoutTimer = 250;
return true;
} else {
int var2;
int var3;
if (var1 >= 300 && var1 <= 313) {
var2 = (var1 - 300) / 2;
var3 = var1 & 1;
Client.playerAppearance.changeAppearance(var2, var3 == 1);
}
World var3;
for (int var2 = 0; var2 < World.World_count; var3.index = var2++) {
var3 = Username.World_worlds[var2] = new World();
var3.id = var1.readUnsignedShort();
var3.properties = var1.readInt();
var3.host = var1.readStringCp1252NullTerminated();
var3.activity = var1.readStringCp1252NullTerminated();
var3.location = var1.readUnsignedByte();
var3.population = var1.readShort();
}
if (var1 >= 314 && var1 <= 323) {
var2 = (var1 - 314) / 2;
var3 = var1 & 1;
Client.playerAppearance.method3977(var2, var3 == 1);
}
if (var1 == 324) {
Client.playerAppearance.changeSex(false);
}
if (var1 == 325) {
Client.playerAppearance.changeSex(true);
}
if (var1 == 326) {
PacketBufferNode var4 = InterfaceParent.getPacketBufferNode(ClientPacket.field2228, Client.packetWriter.isaacCipher);
Client.playerAppearance.write(var4.packetBuffer);
Client.packetWriter.addNode(var4);
class2.sortWorlds(Username.World_worlds, 0, Username.World_worlds.length - 1, World.World_sortOption1, World.World_sortOption2);
class96.World_request = null;
return true;
} else {
return false;
}
} catch (Exception var4) {
var4.printStackTrace();
class96.World_request = null;
}
return false;
}
@ObfuscatedName("t")
static final void method882(long var0) {
try {
Thread.sleep(var0);
} catch (InterruptedException var3) {
}
}
@ObfuscatedName("t")
@ObfuscatedSignature(
signature = "(I)V",
garbageValue = "-2078513733"
)
public static void method880() {
if (KeyHandler.KeyHandler_instance != null) {
synchronized(KeyHandler.KeyHandler_instance) {
KeyHandler.KeyHandler_instance = null;
}
}
}
@ObfuscatedName("az")
@ObfuscatedSignature(
signature = "(ILcj;ZI)I",
garbageValue = "-2029671704"
)
static int method877(int var0, Script var1, boolean var2) {
int var3;
if (var0 == 6600) {
var3 = Player.Scene_plane;
int var9 = UserComparator8.baseX * 64 + (class215.localPlayer.x >> 7);
int var5 = HealthBar.baseY * 64 + (class215.localPlayer.y >> 7);
UserComparator4.getWorldMap().method6437(var3, var9, var5, true);
return 1;
} else {
WorldMapArea var11;
if (var0 == ScriptOpcodes.WORLDMAP_GETMAPNAME) {
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
String var16 = "";
var11 = UserComparator4.getWorldMap().getMapArea(var3);
if (var11 != null) {
var16 = var11.getExternalName();
}
Interpreter.Interpreter_stringStack[++WorldMapDecoration.Interpreter_stringStackSize - 1] = var16;
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_SETMAP) {
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
UserComparator4.getWorldMap().setCurrentMapAreaId(var3);
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_GETZOOM) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = UserComparator4.getWorldMap().getZoomLevel();
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_SETZOOM) {
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
UserComparator4.getWorldMap().setZoomPercentage(var3);
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_ISLOADED) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = UserComparator4.getWorldMap().isCacheLoaded() ? 1 : 0;
return 1;
} else {
Coord var15;
if (var0 == ScriptOpcodes.WORLDMAP_JUMPTODISPLAYCOORD) {
var15 = new Coord(Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]);
UserComparator4.getWorldMap().setWorldMapPositionTarget(var15.x, var15.y);
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_JUMPTODISPLAYCOORD_INSTANT) {
var15 = new Coord(Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]);
UserComparator4.getWorldMap().setWorldMapPositionTargetInstant(var15.x, var15.y);
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_JUMPTOSOURCECOORD) {
var15 = new Coord(Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]);
UserComparator4.getWorldMap().jumpToSourceCoord(var15.plane, var15.x, var15.y);
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_JUMPTOSOURCECOORD_INSTANT) {
var15 = new Coord(Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]);
UserComparator4.getWorldMap().jumpToSourceCoordInstant(var15.plane, var15.x, var15.y);
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_GETDISPLAYPOSITION) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = UserComparator4.getWorldMap().getDisplayX();
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = UserComparator4.getWorldMap().getDisplayY();
return 1;
} else {
WorldMapArea var13;
if (var0 == ScriptOpcodes.WORLDMAP_GETCONFIGORIGIN) {
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
var13 = UserComparator4.getWorldMap().getMapArea(var3);
if (var13 == null) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
} else {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var13.getOrigin().packed();
}
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_GETCONFIGSIZE) {
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
var13 = UserComparator4.getWorldMap().getMapArea(var3);
if (var13 == null) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
} else {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = (var13.getRegionHighX() - var13.getRegionLowX() + 1) * 64;
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = (var13.getRegionHighY() - var13.getRegionLowY() + 1) * 64;
}
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_GETCONFIGBOUNDS) {
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
var13 = UserComparator4.getWorldMap().getMapArea(var3);
if (var13 == null) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
} else {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var13.getRegionLowX() * 64;
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var13.getRegionLowY() * 64;
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var13.getRegionHighX() * 64 + 64 - 1;
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var13.getRegionHighY() * 64 + 64 - 1;
}
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_GETCONFIGZOOM) {
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
var13 = UserComparator4.getWorldMap().getMapArea(var3);
if (var13 == null) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -1;
} else {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var13.getZoom();
}
return 1;
} else if (var0 == 6615) {
var15 = UserComparator4.getWorldMap().getDisplayCoord();
if (var15 == null) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -1;
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -1;
} else {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var15.x;
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var15.y;
}
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_GETCURRENTMAP) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = UserComparator4.getWorldMap().currentMapAreaId();
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_GETDISPLAYCOORD) {
var15 = new Coord(Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]);
var13 = UserComparator4.getWorldMap().getCurrentMapArea();
if (var13 == null) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -1;
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -1;
return 1;
} else {
int[] var14 = var13.position(var15.plane, var15.x, var15.y);
if (var14 == null) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -1;
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -1;
} else {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var14[0];
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var14[1];
}
return 1;
}
} else {
Coord var7;
if (var0 == 6618) {
var15 = new Coord(Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]);
var13 = UserComparator4.getWorldMap().getCurrentMapArea();
if (var13 == null) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -1;
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -1;
return 1;
} else {
var7 = var13.coord(var15.x, var15.y);
if (var7 == null) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -1;
} else {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var7.packed();
}
return 1;
}
} else {
Coord var12;
if (var0 == 6619) {
Interpreter.Interpreter_intStackSize -= 2;
var3 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize];
var12 = new Coord(Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1]);
Language.method3810(var3, var12, false);
return 1;
} else if (var0 == 6620) {
Interpreter.Interpreter_intStackSize -= 2;
var3 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize];
var12 = new Coord(Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1]);
Language.method3810(var3, var12, true);
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_COORDINMAP) {
Interpreter.Interpreter_intStackSize -= 2;
var3 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize];
var12 = new Coord(Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1]);
var11 = UserComparator4.getWorldMap().getMapArea(var3);
if (var11 == null) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
return 1;
} else {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var11.containsCoord(var12.plane, var12.x, var12.y) ? 1 : 0;
return 1;
}
} else if (var0 == ScriptOpcodes.WORLDMAP_GETSIZE) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = UserComparator4.getWorldMap().getDisplayWith();
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = UserComparator4.getWorldMap().getDisplayHeight();
return 1;
} else if (var0 == 6623) {
var15 = new Coord(Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]);
var13 = UserComparator4.getWorldMap().mapAreaAtCoord(var15.plane, var15.x, var15.y);
if (var13 == null) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -1;
} else {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var13.getId();
}
return 1;
} else if (var0 == 6624) {
UserComparator4.getWorldMap().setMaxFlashCount(Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]);
return 1;
} else if (var0 == 6625) {
UserComparator4.getWorldMap().resetMaxFlashCount();
return 1;
} else if (var0 == 6626) {
UserComparator4.getWorldMap().setCyclesPerFlash(Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]);
return 1;
} else if (var0 == 6627) {
UserComparator4.getWorldMap().resetCyclesPerFlash();
return 1;
} else {
boolean var10;
if (var0 == ScriptOpcodes.WORLDMAP_PERPETUALFLASH) {
var10 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
UserComparator4.getWorldMap().setPerpetualFlash(var10);
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_FLASHELEMENT) {
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
UserComparator4.getWorldMap().flashElement(var3);
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_FLASHELEMENTCATEGORY) {
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
UserComparator4.getWorldMap().flashCategory(var3);
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_STOPCURRENTFLASHES) {
UserComparator4.getWorldMap().stopCurrentFlashes();
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_DISABLEELEMENTS) {
var10 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize] == 1;
UserComparator4.getWorldMap().setElementsDisabled(var10);
return 1;
} else {
boolean var4;
if (var0 == ScriptOpcodes.WORLDMAP_DISABLEELEMENT) {
Interpreter.Interpreter_intStackSize -= 2;
var3 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize];
var4 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1] == 1;
UserComparator4.getWorldMap().disableElement(var3, var4);
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_DISABLEELEMENTCATEGORY) {
Interpreter.Interpreter_intStackSize -= 2;
var3 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize];
var4 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1] == 1;
UserComparator4.getWorldMap().setCategoryDisabled(var3, var4);
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_GETDISABLEELEMENTS) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = UserComparator4.getWorldMap().getElementsDisabled() ? 1 : 0;
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_GETDISABLEELEMENT) {
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = UserComparator4.getWorldMap().isElementDisabled(var3) ? 1 : 0;
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_GETDISABLEELEMENTCATEGORY) {
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = UserComparator4.getWorldMap().isCategoryDisabled(var3) ? 1 : 0;
return 1;
} else if (var0 == 6638) {
Interpreter.Interpreter_intStackSize -= 2;
var3 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize];
var12 = new Coord(Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1]);
var7 = UserComparator4.getWorldMap().method6481(var3, var12);
if (var7 == null) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -1;
} else {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var7.packed();
}
return 1;
} else {
AbstractWorldMapIcon var8;
if (var0 == ScriptOpcodes.WORLDMAP_LISTELEMENT_START) {
var8 = UserComparator4.getWorldMap().iconStart();
if (var8 == null) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -1;
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -1;
} else {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var8.getElement();
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var8.coord2.packed();
}
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_LISTELEMENT_NEXT) {
var8 = UserComparator4.getWorldMap().iconNext();
if (var8 == null) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -1;
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -1;
} else {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var8.getElement();
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var8.coord2.packed();
}
return 1;
} else {
WorldMapElement var6;
if (var0 == ScriptOpcodes.MEC_TEXT) {
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
var6 = class65.WorldMapElement_get(var3);
if (var6.name == null) {
Interpreter.Interpreter_stringStack[++WorldMapDecoration.Interpreter_stringStackSize - 1] = "";
} else {
Interpreter.Interpreter_stringStack[++WorldMapDecoration.Interpreter_stringStackSize - 1] = var6.name;
}
return 1;
} else if (var0 == ScriptOpcodes.MEC_TEXTSIZE) {
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
var6 = class65.WorldMapElement_get(var3);
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var6.textSize;
return 1;
} else if (var0 == ScriptOpcodes.MEC_CATEGORY) {
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
var6 = class65.WorldMapElement_get(var3);
if (var6 == null) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -1;
} else {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var6.category;
}
return 1;
} else if (var0 == ScriptOpcodes.MEC_SPRITE) {
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
var6 = class65.WorldMapElement_get(var3);
if (var6 == null) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = -1;
} else {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var6.sprite1;
}
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_ELEMENT) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = WorldMapSprite.worldMapEvent.mapElement;
return 1;
} else if (var0 == 6698) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = WorldMapSprite.worldMapEvent.coord1.packed();
return 1;
} else if (var0 == ScriptOpcodes.WORLDMAP_ELEMENTCOORD) {
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = WorldMapSprite.worldMapEvent.coord2.packed();
return 1;
} else {
return 2;
}
}
}
}
}
}
}
}
}
}
}
@ObfuscatedName("jo")
@ObfuscatedSignature(
signature = "([Lhi;Lhi;ZI)V",
garbageValue = "-1915700559"
)
@Export("revalidateWidgetScroll")
static void revalidateWidgetScroll(Widget[] var0, Widget var1, boolean var2) {
int var3 = var1.scrollWidth != 0 ? var1.scrollWidth : var1.width;
int var4 = var1.scrollHeight != 0 ? var1.scrollHeight : var1.height;
Message.resizeInterface(var0, var1.id, var3, var4, var2);
if (var1.children != null) {
Message.resizeInterface(var1.children, var1.id, var3, var4, var2);
}
InterfaceParent var5 = (InterfaceParent)Client.interfaceParents.get((long)var1.id);
if (var5 != null) {
int var6 = var5.group;
if (TextureProvider.loadInterface(var6)) {
Message.resizeInterface(Widget.Widget_interfaceComponents[var6], -1, var3, var4, var2);
}
}
if (var1.contentType == 1337) {
}
}
}