chore: rev 190
This commit is contained in:
@@ -1,8 +1,3 @@
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.PrintWriter;
|
||||
import java.io.StringReader;
|
||||
import java.io.StringWriter;
|
||||
import java.util.zip.CRC32;
|
||||
import net.runelite.mapping.Export;
|
||||
import net.runelite.mapping.Implements;
|
||||
@@ -10,123 +5,108 @@ import net.runelite.mapping.ObfuscatedGetter;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("ia")
|
||||
@ObfuscatedName("it")
|
||||
@Implements("NetCache")
|
||||
public class NetCache {
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Llt;"
|
||||
signature = "Llj;"
|
||||
)
|
||||
@Export("NetCache_socket")
|
||||
public static AbstractSocket NetCache_socket;
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1826620623
|
||||
intValue = -1369664309
|
||||
)
|
||||
@Export("NetCache_loadTime")
|
||||
public static int NetCache_loadTime;
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedGetter(
|
||||
longValue = 2064372708518790169L
|
||||
)
|
||||
public static long field3165;
|
||||
@ObfuscatedName("d")
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Llv;"
|
||||
signature = "Lle;"
|
||||
)
|
||||
@Export("NetCache_pendingPriorityWrites")
|
||||
public static NodeHashTable NetCache_pendingPriorityWrites;
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1340946103
|
||||
intValue = -357267319
|
||||
)
|
||||
@Export("NetCache_pendingPriorityWritesCount")
|
||||
public static int NetCache_pendingPriorityWritesCount;
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Llv;"
|
||||
signature = "Lle;"
|
||||
)
|
||||
@Export("NetCache_pendingPriorityResponses")
|
||||
public static NodeHashTable NetCache_pendingPriorityResponses;
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1858030685
|
||||
intValue = 1385595783
|
||||
)
|
||||
@Export("NetCache_pendingPriorityResponsesCount")
|
||||
public static int NetCache_pendingPriorityResponsesCount;
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Ljl;"
|
||||
signature = "Ljd;"
|
||||
)
|
||||
@Export("NetCache_pendingWritesQueue")
|
||||
public static DualNodeDeque NetCache_pendingWritesQueue;
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Llv;"
|
||||
signature = "Lle;"
|
||||
)
|
||||
@Export("NetCache_pendingWrites")
|
||||
static NodeHashTable NetCache_pendingWrites;
|
||||
@ObfuscatedName("e")
|
||||
public static NodeHashTable NetCache_pendingWrites;
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -2108405401
|
||||
intValue = -2008436555
|
||||
)
|
||||
@Export("NetCache_pendingWritesCount")
|
||||
public static int NetCache_pendingWritesCount;
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Llv;"
|
||||
signature = "Lle;"
|
||||
)
|
||||
@Export("NetCache_pendingResponses")
|
||||
public static NodeHashTable NetCache_pendingResponses;
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1540381013
|
||||
intValue = 764472147
|
||||
)
|
||||
@Export("NetCache_pendingResponsesCount")
|
||||
public static int NetCache_pendingResponsesCount;
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedName("c")
|
||||
public static boolean field3208;
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lix;"
|
||||
)
|
||||
@Export("NetCache_currentResponse")
|
||||
public static NetFileRequest NetCache_currentResponse;
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lkb;"
|
||||
signature = "Lkn;"
|
||||
)
|
||||
@Export("NetCache_responseHeaderBuffer")
|
||||
public static Buffer NetCache_responseHeaderBuffer;
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lkb;"
|
||||
)
|
||||
@Export("NetCache_responseArchiveBuffer")
|
||||
public static Buffer NetCache_responseArchiveBuffer;
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -488987433
|
||||
intValue = -534324197
|
||||
)
|
||||
public static int field3178;
|
||||
@ObfuscatedName("b")
|
||||
public static int field3214;
|
||||
@ObfuscatedName("d")
|
||||
@Export("NetCache_crc")
|
||||
public static CRC32 NetCache_crc;
|
||||
@ObfuscatedName("r")
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedSignature(
|
||||
signature = "[Lih;"
|
||||
signature = "[Lig;"
|
||||
)
|
||||
@Export("NetCache_archives")
|
||||
public static Archive[] NetCache_archives;
|
||||
@ObfuscatedName("o")
|
||||
public static byte field3163;
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedName("t")
|
||||
public static byte field3213;
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 2067454381
|
||||
intValue = -1163120283
|
||||
)
|
||||
@Export("NetCache_crcMismatches")
|
||||
public static int NetCache_crcMismatches;
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1675917745
|
||||
intValue = -1725551387
|
||||
)
|
||||
@Export("NetCache_ioExceptions")
|
||||
public static int NetCache_ioExceptions;
|
||||
@@ -143,126 +123,11 @@ public class NetCache {
|
||||
NetCache_pendingResponses = new NodeHashTable(4096);
|
||||
NetCache_pendingResponsesCount = 0;
|
||||
NetCache_responseHeaderBuffer = new Buffer(8);
|
||||
field3178 = 0;
|
||||
field3214 = 0;
|
||||
NetCache_crc = new CRC32();
|
||||
NetCache_archives = new Archive[256];
|
||||
field3163 = 0;
|
||||
field3213 = 0;
|
||||
NetCache_crcMismatches = 0;
|
||||
NetCache_ioExceptions = 0;
|
||||
}
|
||||
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Ljava/lang/CharSequence;I)J",
|
||||
garbageValue = "706335608"
|
||||
)
|
||||
static long method4400(CharSequence var0) {
|
||||
long var1 = 0L;
|
||||
int var3 = var0.length();
|
||||
|
||||
for (int var4 = 0; var4 < var3; ++var4) {
|
||||
var1 *= 37L;
|
||||
char var5 = var0.charAt(var4);
|
||||
if (var5 >= 'A' && var5 <= 'Z') {
|
||||
var1 += (long)(var5 + 1 - 65);
|
||||
} else if (var5 >= 'a' && var5 <= 'z') {
|
||||
var1 += (long)(var5 + 1 - 97);
|
||||
} else if (var5 >= '0' && var5 <= '9') {
|
||||
var1 += (long)(var5 + 27 - 48);
|
||||
}
|
||||
|
||||
if (var1 >= 177917621779460413L) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
while (0L == var1 % 37L && var1 != 0L) {
|
||||
var1 /= 37L;
|
||||
}
|
||||
|
||||
return var1;
|
||||
}
|
||||
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lkb;Lln;I)Lln;",
|
||||
garbageValue = "-1200596784"
|
||||
)
|
||||
@Export("readStringIntParameters")
|
||||
static final IterableNodeHashTable readStringIntParameters(Buffer var0, IterableNodeHashTable var1) {
|
||||
int var2 = var0.readUnsignedByte();
|
||||
int var3;
|
||||
if (var1 == null) {
|
||||
var3 = Calendar.method4033(var2);
|
||||
var1 = new IterableNodeHashTable(var3);
|
||||
}
|
||||
|
||||
for (var3 = 0; var3 < var2; ++var3) {
|
||||
boolean var4 = var0.readUnsignedByte() == 1;
|
||||
int var5 = var0.readMedium();
|
||||
Object var6;
|
||||
if (var4) {
|
||||
var6 = new ObjectNode(var0.readStringCp1252NullTerminated());
|
||||
} else {
|
||||
var6 = new IntegerNode(var0.readInt());
|
||||
}
|
||||
|
||||
var1.put((Node)var6, (long)var5);
|
||||
}
|
||||
|
||||
return var1;
|
||||
}
|
||||
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Ljava/lang/Throwable;I)Ljava/lang/String;",
|
||||
garbageValue = "-753208672"
|
||||
)
|
||||
static String method4393(Throwable var0) throws IOException {
|
||||
String var1;
|
||||
if (var0 instanceof RunException) {
|
||||
RunException var2 = (RunException)var0;
|
||||
var1 = var2.message + " | ";
|
||||
var0 = var2.throwable;
|
||||
} else {
|
||||
var1 = "";
|
||||
}
|
||||
|
||||
StringWriter var12 = new StringWriter();
|
||||
PrintWriter var3 = new PrintWriter(var12);
|
||||
var0.printStackTrace(var3);
|
||||
var3.close();
|
||||
String var4 = var12.toString();
|
||||
BufferedReader var5 = new BufferedReader(new StringReader(var4));
|
||||
String var6 = var5.readLine();
|
||||
|
||||
while (true) {
|
||||
while (true) {
|
||||
String var7 = var5.readLine();
|
||||
if (var7 == null) {
|
||||
var1 = var1 + "| " + var6;
|
||||
return var1;
|
||||
}
|
||||
|
||||
int var8 = var7.indexOf(40);
|
||||
int var9 = var7.indexOf(41, var8 + 1);
|
||||
if (var8 >= 0 && var9 >= 0) {
|
||||
String var10 = var7.substring(var8 + 1, var9);
|
||||
int var11 = var10.indexOf(".java:");
|
||||
if (var11 >= 0) {
|
||||
var10 = var10.substring(0, var11) + var10.substring(var11 + 5);
|
||||
var1 = var1 + var10 + ' ';
|
||||
continue;
|
||||
}
|
||||
|
||||
var7 = var7.substring(0, var8);
|
||||
}
|
||||
|
||||
var7 = var7.trim();
|
||||
var7 = var7.substring(var7.lastIndexOf(32) + 1);
|
||||
var7 = var7.substring(var7.lastIndexOf(9) + 1);
|
||||
var1 = var1 + var7 + ' ';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user