rsc: please read the commit message for my neverending descent into madness
how do i stop making castles every time i go to the beach i make a castle every time i open blender i model castles every time i play chess i castle i just cant stop making castles dude
This commit is contained in:
@@ -8,89 +8,93 @@ import net.runelite.rs.ScriptOpcodes;
|
||||
@ObfuscatedName("bz")
|
||||
@Implements("ScriptFrame")
|
||||
public class ScriptFrame {
|
||||
@ObfuscatedName("fl")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Led;"
|
||||
)
|
||||
@Export("urlRequester")
|
||||
static UrlRequester urlRequester;
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lcl;"
|
||||
)
|
||||
@Export("script")
|
||||
Script script;
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1121255489
|
||||
)
|
||||
@Export("pc")
|
||||
int pc = -1;
|
||||
@ObfuscatedName("d")
|
||||
@Export("intLocals")
|
||||
int[] intLocals;
|
||||
@ObfuscatedName("c")
|
||||
@Export("stringLocals")
|
||||
String[] stringLocals;
|
||||
@ObfuscatedName("fl")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Led;"
|
||||
)
|
||||
@Export("urlRequester")
|
||||
static UrlRequester urlRequester;
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lcl;"
|
||||
)
|
||||
@Export("script")
|
||||
Script script;
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1121255489
|
||||
)
|
||||
@Export("pc")
|
||||
int pc;
|
||||
@ObfuscatedName("d")
|
||||
@Export("intLocals")
|
||||
int[] intLocals;
|
||||
@ObfuscatedName("c")
|
||||
@Export("stringLocals")
|
||||
String[] stringLocals;
|
||||
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(IB)Ljz;",
|
||||
garbageValue = "0"
|
||||
)
|
||||
public static HitSplatDefinition method1222(int var0) {
|
||||
HitSplatDefinition var1 = (HitSplatDefinition)HitSplatDefinition.HitSplatDefinition_cached.get((long)var0);
|
||||
if (var1 != null) {
|
||||
return var1;
|
||||
} else {
|
||||
byte[] var2 = HitSplatDefinition.HitSplatDefinition_archive.takeFile(32, var0);
|
||||
var1 = new HitSplatDefinition();
|
||||
if (var2 != null) {
|
||||
var1.decode(new Buffer(var2));
|
||||
}
|
||||
ScriptFrame() {
|
||||
this.pc = -1; // L: 5
|
||||
} // L: 9
|
||||
|
||||
HitSplatDefinition.HitSplatDefinition_cached.put(var1, (long)var0);
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(IB)Ljz;",
|
||||
garbageValue = "0"
|
||||
)
|
||||
public static HitSplatDefinition method1222(int var0) {
|
||||
HitSplatDefinition var1 = (HitSplatDefinition)HitSplatDefinition.HitSplatDefinition_cached.get((long)var0); // L: 52
|
||||
if (var1 != null) { // L: 53
|
||||
return var1;
|
||||
} else {
|
||||
byte[] var2 = HitSplatDefinition.HitSplatDefinition_archive.takeFile(32, var0); // L: 54
|
||||
var1 = new HitSplatDefinition(); // L: 55
|
||||
if (var2 != null) { // L: 56
|
||||
var1.decode(new Buffer(var2));
|
||||
}
|
||||
|
||||
@ObfuscatedName("al")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(ILcl;ZI)I",
|
||||
garbageValue = "461265882"
|
||||
)
|
||||
static int method1221(int var0, Script var1, boolean var2) {
|
||||
if (var0 == ScriptOpcodes.GETWINDOWMODE) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = BoundaryObject.getWindowedMode();
|
||||
return 1;
|
||||
} else {
|
||||
int var3;
|
||||
if (var0 == ScriptOpcodes.SETWINDOWMODE) {
|
||||
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
|
||||
if (var3 == 1 || var3 == 2) {
|
||||
GameBuild.setWindowedMode(var3);
|
||||
}
|
||||
HitSplatDefinition.HitSplatDefinition_cached.put(var1, (long)var0); // L: 57
|
||||
return var1; // L: 58
|
||||
}
|
||||
}
|
||||
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.GETDEFAULTWINDOWMODE) {
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = WorldMapSectionType.clientPreferences.windowMode;
|
||||
return 1;
|
||||
} else if (var0 != ScriptOpcodes.SETDEFAULTWINDOWMODE) {
|
||||
if (var0 == 5310) {
|
||||
--Interpreter.Interpreter_intStackSize;
|
||||
return 1;
|
||||
} else {
|
||||
return 2;
|
||||
}
|
||||
} else {
|
||||
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
|
||||
if (var3 == 1 || var3 == 2) {
|
||||
WorldMapSectionType.clientPreferences.windowMode = var3;
|
||||
class23.savePreferences();
|
||||
}
|
||||
@ObfuscatedName("al")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(ILcl;ZI)I",
|
||||
garbageValue = "461265882"
|
||||
)
|
||||
static int method1221(int var0, Script var1, boolean var2) {
|
||||
if (var0 == ScriptOpcodes.GETWINDOWMODE) { // L: 3196
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = BoundaryObject.getWindowedMode(); // L: 3197
|
||||
return 1; // L: 3198
|
||||
} else {
|
||||
int var3;
|
||||
if (var0 == ScriptOpcodes.SETWINDOWMODE) { // L: 3200
|
||||
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]; // L: 3201
|
||||
if (var3 == 1 || var3 == 2) { // L: 3202
|
||||
GameBuild.setWindowedMode(var3);
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
return 1; // L: 3203
|
||||
} else if (var0 == ScriptOpcodes.GETDEFAULTWINDOWMODE) { // L: 3205
|
||||
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = WorldMapSectionType.clientPreferences.windowMode; // L: 3206
|
||||
return 1; // L: 3207
|
||||
} else if (var0 != ScriptOpcodes.SETDEFAULTWINDOWMODE) { // L: 3209
|
||||
if (var0 == 5310) { // L: 3217
|
||||
--Interpreter.Interpreter_intStackSize; // L: 3218
|
||||
return 1; // L: 3219
|
||||
} else {
|
||||
return 2; // L: 3221
|
||||
}
|
||||
} else {
|
||||
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize]; // L: 3210
|
||||
if (var3 == 1 || var3 == 2) { // L: 3211
|
||||
WorldMapSectionType.clientPreferences.windowMode = var3; // L: 3212
|
||||
class23.savePreferences(); // L: 3213
|
||||
}
|
||||
|
||||
return 1; // L: 3215
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user