rev184
This commit is contained in:
@@ -1,225 +1,90 @@
|
||||
import java.applet.Applet;
|
||||
import net.runelite.mapping.Export;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
import net.runelite.rs.ScriptOpcodes;
|
||||
|
||||
@ObfuscatedName("au")
|
||||
public class class51 {
|
||||
@ObfuscatedName("qv")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lcq;"
|
||||
)
|
||||
@Export("pcmStreamMixer")
|
||||
static PcmStreamMixer pcmStreamMixer;
|
||||
@ObfuscatedName("c")
|
||||
@Export("applet")
|
||||
public static Applet applet;
|
||||
@ObfuscatedName("x")
|
||||
public static String field406;
|
||||
@ObfuscatedName("av")
|
||||
@Export("fontHelvetica13")
|
||||
static java.awt.Font fontHelvetica13;
|
||||
@ObfuscatedName("ad")
|
||||
static String field405;
|
||||
@ObfuscatedName("ax")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Llr;"
|
||||
)
|
||||
static Bounds field411;
|
||||
|
||||
static {
|
||||
applet = null;
|
||||
field406 = "";
|
||||
}
|
||||
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lhz;Lhz;IZB)Lev;",
|
||||
garbageValue = "-39"
|
||||
)
|
||||
public static Frames method852(AbstractArchive var0, AbstractArchive var1, int var2, boolean var3) {
|
||||
boolean var4 = true;
|
||||
int[] var5 = var0.getGroupFileIds(var2);
|
||||
|
||||
for (int var6 = 0; var6 < var5.length; ++var6) {
|
||||
byte[] var7 = var0.getFile(var2, var5[var6]);
|
||||
if (var7 == null) {
|
||||
var4 = false;
|
||||
} else {
|
||||
int var8 = (var7[0] & 255) << 8 | var7[1] & 255;
|
||||
byte[] var9;
|
||||
if (var3) {
|
||||
var9 = var1.getFile(0, var8);
|
||||
} else {
|
||||
var9 = var1.getFile(var8, 0);
|
||||
}
|
||||
|
||||
if (var9 == null) {
|
||||
var4 = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!var4) {
|
||||
return null;
|
||||
} else {
|
||||
try {
|
||||
return new Frames(var0, var1, var2, var3);
|
||||
} catch (Exception var11) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(I)V",
|
||||
garbageValue = "-159620801"
|
||||
)
|
||||
public static void method860() {
|
||||
class96.reflectionChecks = new IterableNodeDeque();
|
||||
}
|
||||
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Ljava/lang/CharSequence;IZI)I",
|
||||
garbageValue = "1374783193"
|
||||
)
|
||||
@Export("parseIntCustomRadix")
|
||||
static int parseIntCustomRadix(CharSequence var0, int var1, boolean var2) {
|
||||
if (var1 >= 2 && var1 <= 36) {
|
||||
boolean var3 = false;
|
||||
boolean var4 = false;
|
||||
int var5 = 0;
|
||||
int var6 = var0.length();
|
||||
|
||||
for (int var7 = 0; var7 < var6; ++var7) {
|
||||
char var8 = var0.charAt(var7);
|
||||
if (var7 == 0) {
|
||||
if (var8 == '-') {
|
||||
var3 = true;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (var8 == '+') {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
int var10;
|
||||
if (var8 >= '0' && var8 <= '9') {
|
||||
var10 = var8 - '0';
|
||||
} else if (var8 >= 'A' && var8 <= 'Z') {
|
||||
var10 = var8 - '7';
|
||||
} else {
|
||||
if (var8 < 'a' || var8 > 'z') {
|
||||
throw new NumberFormatException();
|
||||
}
|
||||
|
||||
var10 = var8 - 'W';
|
||||
}
|
||||
|
||||
if (var10 >= var1) {
|
||||
throw new NumberFormatException();
|
||||
}
|
||||
|
||||
if (var3) {
|
||||
var10 = -var10;
|
||||
}
|
||||
|
||||
int var9 = var10 + var5 * var1;
|
||||
if (var9 / var1 != var5) {
|
||||
throw new NumberFormatException();
|
||||
}
|
||||
|
||||
var5 = var9;
|
||||
var4 = true;
|
||||
}
|
||||
|
||||
if (!var4) {
|
||||
throw new NumberFormatException();
|
||||
} else {
|
||||
return var5;
|
||||
}
|
||||
} else {
|
||||
throw new IllegalArgumentException("" + var1);
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedSignature(
|
||||
signature = "([BIII)Ljava/lang/String;",
|
||||
garbageValue = "-2138724395"
|
||||
)
|
||||
@Export("decodeStringCp1252")
|
||||
public static String decodeStringCp1252(byte[] var0, int var1, int var2) {
|
||||
char[] var3 = new char[var2];
|
||||
int var4 = 0;
|
||||
|
||||
for (int var5 = 0; var5 < var2; ++var5) {
|
||||
int var6 = var0[var5 + var1] & 255;
|
||||
if (var6 != 0) {
|
||||
if (var6 >= 128 && var6 < 160) {
|
||||
char var7 = class287.cp1252AsciiExtension[var6 - 128];
|
||||
if (var7 == 0) {
|
||||
var7 = '?';
|
||||
}
|
||||
|
||||
var6 = var7;
|
||||
}
|
||||
|
||||
var3[var4++] = (char)var6;
|
||||
}
|
||||
}
|
||||
|
||||
return new String(var3, 0, var4);
|
||||
}
|
||||
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(ILcu;ZB)I",
|
||||
garbageValue = "10"
|
||||
)
|
||||
static int method861(int var0, Script var1, boolean var2) {
|
||||
Widget var3 = Player.getWidget(Interpreter.Interpreter_intStack[--class160.Interpreter_intStackSize]);
|
||||
if (var0 == ScriptOpcodes.IF_GETTARGETMASK) {
|
||||
Interpreter.Interpreter_intStack[++class160.Interpreter_intStackSize - 1] = WorldMapElement.method4390(class60.getWidgetClickMask(var3));
|
||||
return 1;
|
||||
} else if (var0 != ScriptOpcodes.IF_GETOP) {
|
||||
if (var0 == ScriptOpcodes.IF_GETOPBASE) {
|
||||
if (var3.dataText == null) {
|
||||
Interpreter.Interpreter_stringStack[++TextureProvider.Interpreter_stringStackSize - 1] = "";
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++TextureProvider.Interpreter_stringStackSize - 1] = var3.dataText;
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else {
|
||||
return 2;
|
||||
}
|
||||
} else {
|
||||
int var4 = Interpreter.Interpreter_intStack[--class160.Interpreter_intStackSize];
|
||||
--var4;
|
||||
if (var3.actions != null && var4 < var3.actions.length && var3.actions[var4] != null) {
|
||||
Interpreter.Interpreter_stringStack[++TextureProvider.Interpreter_stringStackSize - 1] = var3.actions[var4];
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++TextureProvider.Interpreter_stringStackSize - 1] = "";
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("kh")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(B)V",
|
||||
garbageValue = "0"
|
||||
)
|
||||
@Export("Clan_leaveChat")
|
||||
static final void Clan_leaveChat() {
|
||||
PacketBufferNode var0 = MenuAction.getPacketBufferNode(ClientPacket.field2252, Client.packetWriter.isaacCipher);
|
||||
var0.packetBuffer.writeByte(0);
|
||||
Client.packetWriter.addNode(var0);
|
||||
}
|
||||
}
|
||||
import java.applet.Applet;
|
||||
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("at")
|
||||
public class class51 {
|
||||
@ObfuscatedName("z")
|
||||
@Export("applet")
|
||||
public static Applet applet;
|
||||
@ObfuscatedName("n")
|
||||
public static String field406;
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Llf;"
|
||||
)
|
||||
@Export("rightTitleSprite")
|
||||
static Sprite rightTitleSprite;
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Leh;"
|
||||
)
|
||||
@Export("World_request")
|
||||
static UrlRequest World_request;
|
||||
@ObfuscatedName("kc")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1418069311
|
||||
)
|
||||
@Export("menuY")
|
||||
static int menuY;
|
||||
|
||||
static {
|
||||
applet = null;
|
||||
field406 = "";
|
||||
}
|
||||
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(ILcu;ZI)I",
|
||||
garbageValue = "-150727859"
|
||||
)
|
||||
static int method921(int var0, Script var1, boolean var2) {
|
||||
Widget var3 = Canvas.getWidget(Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]);
|
||||
if (var0 == ScriptOpcodes.IF_GETX) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3.x;
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.IF_GETY) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3.y;
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.IF_GETWIDTH) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3.width;
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.IF_GETHEIGHT) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3.height;
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.IF_GETHIDE) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3.isHidden ? 1 : 0;
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.IF_GETLAYER) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3.parentId;
|
||||
return 1;
|
||||
} else {
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("jo")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(I)V",
|
||||
garbageValue = "-1129572121"
|
||||
)
|
||||
static final void method922() {
|
||||
PacketBufferNode var0 = InterfaceParent.getPacketBufferNode(ClientPacket.field2241, Client.packetWriter.isaacCipher);
|
||||
Client.packetWriter.addNode(var0);
|
||||
|
||||
for (InterfaceParent var1 = (InterfaceParent)Client.interfaceParents.first(); var1 != null; var1 = (InterfaceParent)Client.interfaceParents.next()) {
|
||||
if (var1.type == 0 || var1.type == 3) {
|
||||
FontName.closeInterface(var1, true);
|
||||
}
|
||||
}
|
||||
|
||||
if (Client.meslayerContinueWidget != null) {
|
||||
WorldMapSectionType.invalidateWidget(Client.meslayerContinueWidget);
|
||||
Client.meslayerContinueWidget = null;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user