project: rev 195
This commit is contained in:
@@ -2,18 +2,23 @@ import net.runelite.mapping.Export;
|
||||
import net.runelite.mapping.Implements;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
import net.runelite.rs.ScriptOpcodes;
|
||||
|
||||
@ObfuscatedName("hp")
|
||||
@ObfuscatedName("hx")
|
||||
@Implements("Huffman")
|
||||
public class Huffman {
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedName("qz")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lak;"
|
||||
)
|
||||
@Export("pcmStreamMixer")
|
||||
static PcmStreamMixer pcmStreamMixer;
|
||||
@ObfuscatedName("f")
|
||||
@Export("masks")
|
||||
int[] masks;
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedName("o")
|
||||
@Export("bits")
|
||||
byte[] bits;
|
||||
@ObfuscatedName("d")
|
||||
@ObfuscatedName("u")
|
||||
@Export("keys")
|
||||
int[] keys;
|
||||
|
||||
@@ -100,10 +105,10 @@ public class Huffman {
|
||||
|
||||
} // L: 60
|
||||
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "([BII[BIB)I",
|
||||
garbageValue = "-79"
|
||||
descriptor = "([BII[BII)I",
|
||||
garbageValue = "310251163"
|
||||
)
|
||||
@Export("compress")
|
||||
int compress(byte[] var1, int var2, int var3, byte[] var4, int var5) {
|
||||
@@ -121,7 +126,7 @@ public class Huffman {
|
||||
int var11 = var7 >> 3; // L: 71
|
||||
int var12 = var7 & 7; // L: 72
|
||||
var6 &= -var12 >> 31; // L: 73
|
||||
int var13 = (var12 + var10 - 1 >> 3) + var11; // L: 74
|
||||
int var13 = (var10 + var12 - 1 >> 3) + var11; // L: 74
|
||||
var12 += 24; // L: 76
|
||||
var4[var11] = (byte)(var6 |= var9 >>> var12); // L: 77
|
||||
if (var11 < var13) { // L: 78
|
||||
@@ -151,10 +156,10 @@ public class Huffman {
|
||||
return (var7 + 7 >> 3) - var5; // L: 97
|
||||
}
|
||||
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "([BI[BIII)I",
|
||||
garbageValue = "1393765026"
|
||||
descriptor = "([BI[BIIB)I",
|
||||
garbageValue = "74"
|
||||
)
|
||||
@Export("decompress")
|
||||
int decompress(byte[] var1, int var2, byte[] var3, int var4, int var5) {
|
||||
@@ -295,38 +300,12 @@ public class Huffman {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedName("hw")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(ILcl;ZB)I",
|
||||
garbageValue = "124"
|
||||
descriptor = "(I)Z",
|
||||
garbageValue = "-1260509455"
|
||||
)
|
||||
static int method4157(int var0, Script var1, boolean var2) {
|
||||
Widget var3 = var2 ? class277.scriptDotWidget : Interpreter.scriptActiveWidget; // L: 1125
|
||||
if (var0 == ScriptOpcodes.CC_GETTARGETMASK) { // L: 1126
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = MusicPatch.Widget_unpackTargetMask(class60.getWidgetFlags(var3)); // L: 1127
|
||||
return 1; // L: 1128
|
||||
} else if (var0 != ScriptOpcodes.CC_GETOP) { // L: 1130
|
||||
if (var0 == ScriptOpcodes.CC_GETOPBASE) { // L: 1137
|
||||
if (var3.dataText == null) { // L: 1138
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = "";
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = var3.dataText; // L: 1139
|
||||
}
|
||||
|
||||
return 1; // L: 1140
|
||||
} else {
|
||||
return 2; // L: 1142
|
||||
}
|
||||
} else {
|
||||
int var4 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]; // L: 1131
|
||||
--var4; // L: 1132
|
||||
if (var3.actions != null && var4 < var3.actions.length && var3.actions[var4] != null) { // L: 1133
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = var3.actions[var4]; // L: 1134
|
||||
} else {
|
||||
Interpreter.Interpreter_stringStack[++Interpreter.Interpreter_stringStackSize - 1] = "";
|
||||
}
|
||||
|
||||
return 1; // L: 1135
|
||||
}
|
||||
static final boolean method4311() {
|
||||
return Client.isMenuOpen; // L: 7813
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user