chore: rev 194

This commit is contained in:
zeruth
2021-02-24 08:08:39 -05:00
parent 11dd1cdb41
commit e1df0f6f7c
352 changed files with 83792 additions and 85533 deletions

View File

@@ -4,53 +4,49 @@ import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("ms")
@ObfuscatedName("mg")
@Implements("GZipDecompressor")
public class GZipDecompressor {
@ObfuscatedName("w")
@ObfuscatedSignature(
descriptor = "[Llo;"
)
@Export("runesSprite")
static IndexedSprite[] runesSprite;
@ObfuscatedName("h")
@Export("inflater")
Inflater inflater;
@ObfuscatedName("t")
public static String field4046;
@ObfuscatedName("n")
@Export("inflater")
Inflater inflater;
@ObfuscatedSignature(
descriptor = "(III)V",
garbageValue = "1000000"
)
GZipDecompressor(int var1, int var2, int var3) {
} // L: 13
@ObfuscatedSignature(
descriptor = "(III)V",
garbageValue = "1000000"
)
GZipDecompressor(int var1, int var2, int var3) {
}
public GZipDecompressor() {
this(-1, 1000000, 1000000); // L: 10
} // L: 11
public GZipDecompressor() {
this(-1, 1000000, 1000000);
}
@ObfuscatedName("h")
@ObfuscatedSignature(
descriptor = "(Lkj;[BB)V",
garbageValue = "-11"
)
@Export("decompress")
public void decompress(Buffer var1, byte[] var2) {
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);
}
@ObfuscatedName("n")
@ObfuscatedSignature(
descriptor = "(Lkx;[BI)V",
garbageValue = "1829368113"
)
@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) {
this.inflater = new Inflater(true);
}
try {
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
}
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.reset(); // L: 26
} else {
throw new RuntimeException("");
}
} // L: 27
this.inflater.reset();
} else {
throw new RuntimeException("");
}
}
}