client: revvy boi 202
This commit is contained in:
@@ -16,77 +16,81 @@ import net.runelite.mapping.ObfuscatedGetter;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedName("o")
|
||||
public class class10 {
|
||||
@ObfuscatedName("rz")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Low;"
|
||||
)
|
||||
@Export("sceneMinimapSprite")
|
||||
static SpritePixels sceneMinimapSprite;
|
||||
@ObfuscatedName("i")
|
||||
HttpsURLConnection field46;
|
||||
@ObfuscatedName("w")
|
||||
final Map field40;
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lmg;"
|
||||
)
|
||||
class360 field41;
|
||||
@ObfuscatedName("a")
|
||||
Map field42;
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lb;"
|
||||
)
|
||||
final class9 field43;
|
||||
@ObfuscatedName("g")
|
||||
boolean field44;
|
||||
@ObfuscatedName("e")
|
||||
boolean field45;
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedName("aq")
|
||||
static String field58;
|
||||
@ObfuscatedName("fb")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 592251103
|
||||
intValue = 892937659
|
||||
)
|
||||
int field47;
|
||||
static int field59;
|
||||
@ObfuscatedName("ht")
|
||||
@Export("regionLandArchiveIds")
|
||||
static int[] regionLandArchiveIds;
|
||||
@ObfuscatedName("c")
|
||||
HttpsURLConnection field53;
|
||||
@ObfuscatedName("b")
|
||||
final Map field48;
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lni;"
|
||||
)
|
||||
class377 field50;
|
||||
@ObfuscatedName("m")
|
||||
Map field49;
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lr;"
|
||||
)
|
||||
final class9 field52;
|
||||
@ObfuscatedName("s")
|
||||
boolean field51;
|
||||
@ObfuscatedName("j")
|
||||
boolean field57;
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 755208065
|
||||
)
|
||||
int field55;
|
||||
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Ljava/net/URL;Lb;)V"
|
||||
descriptor = "(Ljava/net/URL;Lr;)V"
|
||||
)
|
||||
public class10(URL var1, class9 var2) throws IOException {
|
||||
this.field44 = false; // L: 20
|
||||
this.field45 = false; // L: 21
|
||||
this.field47 = 300000; // L: 22
|
||||
if (!var2.method76()) {
|
||||
throw new UnsupportedEncodingException("Unsupported request method used " + var2.method78()); // L: 25
|
||||
this.field51 = false; // L: 20
|
||||
this.field57 = false; // L: 21
|
||||
this.field55 = 300000; // L: 22
|
||||
if (!var2.method85()) {
|
||||
throw new UnsupportedEncodingException("Unsupported request method used " + var2.method100()); // L: 25
|
||||
} else {
|
||||
this.field46 = (HttpsURLConnection)var1.openConnection(); // L: 26
|
||||
this.field46.setSSLSocketFactory(new class15()); // L: 27
|
||||
this.field43 = var2; // L: 28
|
||||
this.field40 = new HashMap(); // L: 29
|
||||
this.field42 = new HashMap(); // L: 30
|
||||
this.field53 = (HttpsURLConnection)var1.openConnection(); // L: 26
|
||||
this.field53.setSSLSocketFactory(new class15()); // L: 27
|
||||
this.field52 = var2; // L: 28
|
||||
this.field48 = new HashMap(); // L: 29
|
||||
this.field49 = new HashMap();
|
||||
}
|
||||
} // L: 31
|
||||
}
|
||||
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Ljava/lang/String;Ljava/lang/String;I)V",
|
||||
garbageValue = "1308010097"
|
||||
garbageValue = "-659899332"
|
||||
)
|
||||
public void method86(String var1, String var2) {
|
||||
if (!this.field44) { // L: 34
|
||||
this.field40.put(var1, var2); // L: 35
|
||||
public void method121(String var1, String var2) {
|
||||
if (!this.field51) {
|
||||
this.field48.put(var1, var2);
|
||||
}
|
||||
} // L: 36
|
||||
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)Ljava/lang/String;",
|
||||
garbageValue = "-1722889443"
|
||||
garbageValue = "1718208734"
|
||||
)
|
||||
String method87() {
|
||||
ArrayList var1 = new ArrayList(this.field42.entrySet()); // L: 39
|
||||
Collections.sort(var1, new class18(this)); // L: 40
|
||||
String method109() {
|
||||
ArrayList var1 = new ArrayList(this.field49.entrySet());
|
||||
Collections.sort(var1, new class18(this));
|
||||
StringBuilder var2 = new StringBuilder(); // L: 53
|
||||
Iterator var3 = var1.iterator(); // L: 54
|
||||
|
||||
@@ -96,7 +100,7 @@ public class class10 {
|
||||
var2.append(",");
|
||||
}
|
||||
|
||||
var2.append(((class359)var4.getKey()).method6418()); // L: 58
|
||||
var2.append(((class376)var4.getKey()).method6793()); // L: 58
|
||||
float var5 = (Float)var4.getValue(); // L: 59
|
||||
if (var5 < 1.0F) { // L: 60
|
||||
String var6 = Float.toString(var5).substring(0, 4); // L: 61
|
||||
@@ -107,78 +111,78 @@ public class class10 {
|
||||
return var2.toString(); // L: 66
|
||||
}
|
||||
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)V",
|
||||
garbageValue = "-268892273"
|
||||
descriptor = "(B)V",
|
||||
garbageValue = "8"
|
||||
)
|
||||
void method88() throws ProtocolException {
|
||||
if (!this.field44) { // L: 70
|
||||
this.field46.setRequestMethod(this.field43.method78()); // L: 71
|
||||
if (!this.field42.isEmpty()) { // L: 72
|
||||
this.field40.put("Accept", this.method87());
|
||||
void method104() throws ProtocolException {
|
||||
if (!this.field51) { // L: 70
|
||||
this.field53.setRequestMethod(this.field52.method100()); // L: 71
|
||||
if (!this.field49.isEmpty()) { // L: 72
|
||||
this.field48.put("Accept", this.method109());
|
||||
}
|
||||
|
||||
Iterator var1 = this.field40.entrySet().iterator(); // L: 73
|
||||
Iterator var1 = this.field48.entrySet().iterator(); // L: 73
|
||||
|
||||
while (var1.hasNext()) {
|
||||
Entry var2 = (Entry)var1.next(); // L: 74
|
||||
this.field46.setRequestProperty((String)var2.getKey(), (String)var2.getValue()); // L: 76
|
||||
this.field53.setRequestProperty((String)var2.getKey(), (String)var2.getValue()); // L: 76
|
||||
}
|
||||
|
||||
if (this.field43.method70() && this.field41 != null) { // L: 79
|
||||
this.field46.setDoOutput(true); // L: 80
|
||||
if (this.field52.method86() && this.field50 != null) { // L: 79
|
||||
this.field53.setDoOutput(true); // L: 80
|
||||
ByteArrayOutputStream var13 = new ByteArrayOutputStream(); // L: 81
|
||||
|
||||
try {
|
||||
var13.write(this.field41.method6423(1606591795)); // L: 83
|
||||
var13.writeTo(this.field46.getOutputStream()); // L: 84
|
||||
var13.write(this.field50.method6796(-1647266432)); // L: 83
|
||||
var13.writeTo(this.field53.getOutputStream()); // L: 84
|
||||
} catch (IOException var11) { // L: 86
|
||||
var11.printStackTrace(); // L: 87
|
||||
} finally {
|
||||
if (var13 != null) { // L: 90
|
||||
try {
|
||||
var13.close(); // L: 92
|
||||
} catch (IOException var10) { // L: 94
|
||||
var10.printStackTrace(); // L: 95
|
||||
} catch (IOException var10) {
|
||||
var10.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
this.field46.setConnectTimeout(this.field47); // L: 100
|
||||
this.field46.setInstanceFollowRedirects(this.field45); // L: 101
|
||||
this.field44 = true; // L: 102
|
||||
this.field53.setConnectTimeout(this.field55);
|
||||
this.field53.setInstanceFollowRedirects(this.field57);
|
||||
this.field51 = true;
|
||||
}
|
||||
} // L: 103
|
||||
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)Z",
|
||||
garbageValue = "315003479"
|
||||
)
|
||||
boolean method89() throws IOException, SocketTimeoutException {
|
||||
if (!this.field44) { // L: 106
|
||||
this.method88();
|
||||
}
|
||||
|
||||
this.field46.connect(); // L: 107
|
||||
return this.field46.getResponseCode() == -1; // L: 108
|
||||
}
|
||||
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)Lm;",
|
||||
garbageValue = "-347704447"
|
||||
descriptor = "(I)Z",
|
||||
garbageValue = "-378004067"
|
||||
)
|
||||
class21 method100() {
|
||||
boolean method105() throws IOException, SocketTimeoutException {
|
||||
if (!this.field51) { // L: 106
|
||||
this.method104();
|
||||
}
|
||||
|
||||
this.field53.connect(); // L: 107
|
||||
return this.field53.getResponseCode() == -1;
|
||||
}
|
||||
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)Lq;",
|
||||
garbageValue = "-2098724409"
|
||||
)
|
||||
class21 method106() {
|
||||
try {
|
||||
if (!this.field44 || this.field46.getResponseCode() == -1) { // L: 114
|
||||
if (!this.field51 || this.field53.getResponseCode() == -1) { // L: 114
|
||||
return new class21("No REST response has been received yet.");
|
||||
}
|
||||
} catch (IOException var10) { // L: 116
|
||||
this.field46.disconnect(); // L: 117
|
||||
this.field53.disconnect(); // L: 117
|
||||
return new class21("Error decoding REST response code: " + var10.getMessage()); // L: 118
|
||||
}
|
||||
|
||||
@@ -186,26 +190,140 @@ public class class10 {
|
||||
|
||||
class21 var3;
|
||||
try {
|
||||
var1 = new class21(this.field46); // L: 122
|
||||
var1 = new class21(this.field53); // L: 122
|
||||
return var1; // L: 130
|
||||
} catch (IOException var8) { // L: 124
|
||||
var3 = new class21("Error decoding REST response: " + var8.getMessage()); // L: 125
|
||||
} catch (IOException var8) {
|
||||
var3 = new class21("Error decoding REST response: " + var8.getMessage());
|
||||
} finally {
|
||||
this.field46.disconnect();
|
||||
this.field53.disconnect(); // L: 128
|
||||
}
|
||||
|
||||
return var3; // L: 128
|
||||
return var3;
|
||||
}
|
||||
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(B)V",
|
||||
garbageValue = "0"
|
||||
descriptor = "(ILmy;Lkz;B)V",
|
||||
garbageValue = "16"
|
||||
)
|
||||
static void method104() {
|
||||
Login.worldSelectOpen = false; // L: 1614
|
||||
RouteStrategy.leftTitleSprite.drawAt(Login.xPadding, 0); // L: 1615
|
||||
class139.rightTitleSprite.drawAt(Login.xPadding + 382, 0); // L: 1616
|
||||
class16.logoSprite.drawAt(Login.xPadding + 382 - class16.logoSprite.subWidth / 2, 18); // L: 1617
|
||||
} // L: 1618
|
||||
static void method122(int var0, ArchiveDisk var1, Archive var2) {
|
||||
byte[] var3 = null; // L: 30
|
||||
synchronized(ArchiveDiskActionHandler.ArchiveDiskActionHandler_requestQueue) { // L: 31
|
||||
for (ArchiveDiskAction var5 = (ArchiveDiskAction)ArchiveDiskActionHandler.ArchiveDiskActionHandler_requestQueue.last(); var5 != null; var5 = (ArchiveDiskAction)ArchiveDiskActionHandler.ArchiveDiskActionHandler_requestQueue.previous()) { // L: 32
|
||||
if (var5.key == (long)var0 && var1 == var5.archiveDisk && var5.type == 0) { // L: 33
|
||||
var3 = var5.data; // L: 34
|
||||
break; // L: 35
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (var3 != null) { // L: 39
|
||||
var2.load(var1, var0, var3, true); // L: 40
|
||||
} else {
|
||||
byte[] var4 = var1.read(var0); // L: 43
|
||||
var2.load(var1, var0, var4, true); // L: 44
|
||||
}
|
||||
} // L: 41 45
|
||||
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "([BIIII[Lgf;I)V",
|
||||
garbageValue = "1276924993"
|
||||
)
|
||||
static final void method119(byte[] var0, int var1, int var2, int var3, int var4, CollisionMap[] var5) {
|
||||
int var7;
|
||||
int var8;
|
||||
for (int var6 = 0; var6 < 4; ++var6) { // L: 93
|
||||
for (var7 = 0; var7 < 64; ++var7) { // L: 94
|
||||
for (var8 = 0; var8 < 64; ++var8) { // L: 95
|
||||
if (var7 + var1 > 0 && var7 + var1 < 103 && var8 + var2 > 0 && var8 + var2 < 103) { // L: 96
|
||||
int[] var10000 = var5[var6].flags[var7 + var1];
|
||||
var10000[var8 + var2] &= -16777217;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Buffer var10 = new Buffer(var0); // L: 100
|
||||
|
||||
for (var7 = 0; var7 < 4; ++var7) { // L: 101
|
||||
for (var8 = 0; var8 < 64; ++var8) { // L: 102
|
||||
for (int var9 = 0; var9 < 64; ++var9) { // L: 103
|
||||
ScriptFrame.loadTerrain(var10, var7, var8 + var1, var9 + var2, var3, var4, 0); // L: 104
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} // L: 108
|
||||
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Ljava/lang/String;I)V",
|
||||
garbageValue = "1542275516"
|
||||
)
|
||||
static final void method123(String var0) {
|
||||
PacketBufferNode var1 = HitSplatDefinition.getPacketBufferNode(ClientPacket.field2895, Client.packetWriter.isaacCipher); // L: 123
|
||||
var1.packetBuffer.writeByte(class116.stringCp1252NullTerminatedByteSize(var0)); // L: 124
|
||||
var1.packetBuffer.writeStringCp1252NullTerminated(var0); // L: 125
|
||||
Client.packetWriter.addNode(var1); // L: 126
|
||||
} // L: 127
|
||||
|
||||
@ObfuscatedName("am")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lai;I)V",
|
||||
garbageValue = "372010078"
|
||||
)
|
||||
@Export("PcmStream_disable")
|
||||
static final void PcmStream_disable(PcmStream var0) {
|
||||
var0.active = false; // L: 263
|
||||
if (var0.sound != null) { // L: 264
|
||||
var0.sound.position = 0;
|
||||
}
|
||||
|
||||
for (PcmStream var1 = var0.firstSubStream(); var1 != null; var1 = var0.nextSubStream()) {
|
||||
PcmStream_disable(var1); // L: 265
|
||||
}
|
||||
|
||||
} // L: 266
|
||||
|
||||
@ObfuscatedName("iv")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(IIIII)V",
|
||||
garbageValue = "708882827"
|
||||
)
|
||||
static final void method124(int var0, int var1, int var2, int var3) {
|
||||
for (int var4 = 0; var4 < Client.rootWidgetCount; ++var4) { // L: 8861
|
||||
if (Client.rootWidgetWidths[var4] + Client.rootWidgetXs[var4] > var0 && Client.rootWidgetXs[var4] < var0 + var2 && Client.rootWidgetHeights[var4] + Client.rootWidgetYs[var4] > var1 && Client.rootWidgetYs[var4] < var3 + var1) { // L: 8862
|
||||
Client.field504[var4] = true;
|
||||
}
|
||||
}
|
||||
|
||||
} // L: 8864
|
||||
|
||||
@ObfuscatedName("kh")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lcl;ZI)V",
|
||||
garbageValue = "-1418873427"
|
||||
)
|
||||
@Export("closeInterface")
|
||||
static final void closeInterface(InterfaceParent var0, boolean var1) {
|
||||
int var2 = var0.group; // L: 12284
|
||||
int var3 = (int)var0.key; // L: 12285
|
||||
var0.remove(); // L: 12286
|
||||
if (var1) { // L: 12287
|
||||
class273.method5333(var2);
|
||||
}
|
||||
|
||||
TextureProvider.method4185(var2); // L: 12288
|
||||
Widget var4 = ChatChannel.getWidget(var3); // L: 12289
|
||||
if (var4 != null) { // L: 12290
|
||||
SecureRandomCallable.invalidateWidget(var4);
|
||||
}
|
||||
|
||||
FileSystem.method3084(); // L: 12291
|
||||
if (Client.rootInterface != -1) { // L: 12292
|
||||
Message.runIntfCloseListeners(Client.rootInterface, 1);
|
||||
}
|
||||
|
||||
} // L: 12293
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user