client: rev 201

This commit is contained in:
Justin
2021-11-03 22:50:34 +11:00
parent af21d0e050
commit bcc8072751
425 changed files with 65165 additions and 65696 deletions

View File

@@ -1,64 +1,50 @@
import java.applet.Applet;
import java.util.zip.Inflater;
import net.runelite.mapping.Export;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("pt")
@ObfuscatedName("pd")
@Implements("GZipDecompressor")
public class GZipDecompressor {
@ObfuscatedName("l")
@ObfuscatedName("i")
@Export("inflater")
Inflater inflater;
public GZipDecompressor() {
this(-1, 1000000, 1000000); // L: 10
} // L: 11
@ObfuscatedSignature(
descriptor = "(III)V",
garbageValue = "1000000"
)
GZipDecompressor(int var1, int var2, int var3) {
}
} // L: 13
public GZipDecompressor() {
this(-1, 1000000, 1000000);
}
@ObfuscatedName("l")
@ObfuscatedName("i")
@ObfuscatedSignature(
descriptor = "(Lot;[BI)V",
garbageValue = "537396446"
descriptor = "(Lop;[BB)V",
garbageValue = "-63"
)
@Export("decompress")
public void decompress(Buffer var1, byte[] var2) {
if (var1.array[var1.offset] == 31 && var1.array[var1.offset + 1] == -117) {
if (this.inflater == null) {
if (var1.array[var1.offset] == 31 && var1.array[var1.offset + 1] == -117) { // L: 16
if (this.inflater == null) { // L: 17
this.inflater = new Inflater(true);
}
try {
this.inflater.setInput(var1.array, var1.offset + 10, var1.array.length - (var1.offset + 8 + 10));
this.inflater.inflate(var2);
} catch (Exception var4) {
this.inflater.reset();
throw new RuntimeException("");
this.inflater.setInput(var1.array, var1.offset + 10, var1.array.length - (var1.offset + 8 + 10)); // L: 19
this.inflater.inflate(var2); // L: 20
} catch (Exception var4) { // L: 22
this.inflater.reset(); // L: 23
throw new RuntimeException(""); // L: 24
}
this.inflater.reset();
this.inflater.reset(); // L: 26
} else {
throw new RuntimeException("");
}
}
@ObfuscatedName("l")
@ObfuscatedSignature(
descriptor = "(Ljava/applet/Applet;Ljava/lang/String;B)V",
garbageValue = "-111"
)
public static void method7450(Applet var0, String var1) {
class29.field168 = var0;
if (var1 != null) {
class29.field165 = var1;
}
}
} // L: 27
}