project: Rev 202

This commit is contained in:
Owain van Brakel
2021-12-14 18:20:58 +01:00
parent e974585ce8
commit 7c7bf0901a
406 changed files with 39725 additions and 39842 deletions

View File

@@ -27,13 +27,13 @@ public class TriBool {
public static final TriBool TriBool_false;
static {
TriBool_unknown = new TriBool(); // L: 4
TriBool_true = new TriBool(); // L: 5
TriBool_false = new TriBool(); // L: 6
TriBool_unknown = new TriBool();
TriBool_true = new TriBool();
TriBool_false = new TriBool();
}
TriBool() {
} // L: 8
}
@ObfuscatedName("az")
@ObfuscatedSignature(
@@ -42,122 +42,122 @@ public class TriBool {
)
static int method6472(int var0, Script var1, boolean var2) {
int var3;
if (var0 == ScriptOpcodes.OC_NAME) { // L: 3217
var3 = Interpreter.Interpreter_intStack[--IsaacCipher.Interpreter_intStackSize]; // L: 3218
Interpreter.Interpreter_stringStack[++class13.Interpreter_stringStackSize - 1] = UserComparator6.ItemDefinition_get(var3).name; // L: 3219
return 1; // L: 3220
if (var0 == ScriptOpcodes.OC_NAME) {
var3 = Interpreter.Interpreter_intStack[--IsaacCipher.Interpreter_intStackSize];
Interpreter.Interpreter_stringStack[++class13.Interpreter_stringStackSize - 1] = UserComparator6.ItemDefinition_get(var3).name;
return 1;
} else {
int var4;
ItemComposition var5;
if (var0 == ScriptOpcodes.OC_OP) { // L: 3222
IsaacCipher.Interpreter_intStackSize -= 2; // L: 3223
var3 = Interpreter.Interpreter_intStack[IsaacCipher.Interpreter_intStackSize]; // L: 3224
var4 = Interpreter.Interpreter_intStack[IsaacCipher.Interpreter_intStackSize + 1]; // L: 3225
var5 = UserComparator6.ItemDefinition_get(var3); // L: 3226
if (var0 == ScriptOpcodes.OC_OP) {
IsaacCipher.Interpreter_intStackSize -= 2;
var3 = Interpreter.Interpreter_intStack[IsaacCipher.Interpreter_intStackSize];
var4 = Interpreter.Interpreter_intStack[IsaacCipher.Interpreter_intStackSize + 1];
var5 = UserComparator6.ItemDefinition_get(var3);
if (var4 >= 1 && var4 <= 5 && var5.groundActions[var4 - 1] != null) {
Interpreter.Interpreter_stringStack[++class13.Interpreter_stringStackSize - 1] = var5.groundActions[var4 - 1]; // L: 3227
Interpreter.Interpreter_stringStack[++class13.Interpreter_stringStackSize - 1] = var5.groundActions[var4 - 1];
} else {
Interpreter.Interpreter_stringStack[++class13.Interpreter_stringStackSize - 1] = ""; // L: 3228
Interpreter.Interpreter_stringStack[++class13.Interpreter_stringStackSize - 1] = "";
}
return 1; // L: 3229
} else if (var0 == ScriptOpcodes.OC_IOP) { // L: 3231
IsaacCipher.Interpreter_intStackSize -= 2; // L: 3232
var3 = Interpreter.Interpreter_intStack[IsaacCipher.Interpreter_intStackSize]; // L: 3233
var4 = Interpreter.Interpreter_intStack[IsaacCipher.Interpreter_intStackSize + 1]; // L: 3234
var5 = UserComparator6.ItemDefinition_get(var3); // L: 3235
if (var4 >= 1 && var4 <= 5 && var5.inventoryActions[var4 - 1] != null) { // L: 3236
return 1;
} else if (var0 == ScriptOpcodes.OC_IOP) {
IsaacCipher.Interpreter_intStackSize -= 2;
var3 = Interpreter.Interpreter_intStack[IsaacCipher.Interpreter_intStackSize];
var4 = Interpreter.Interpreter_intStack[IsaacCipher.Interpreter_intStackSize + 1];
var5 = UserComparator6.ItemDefinition_get(var3);
if (var4 >= 1 && var4 <= 5 && var5.inventoryActions[var4 - 1] != null) {
Interpreter.Interpreter_stringStack[++class13.Interpreter_stringStackSize - 1] = var5.inventoryActions[var4 - 1];
} else {
Interpreter.Interpreter_stringStack[++class13.Interpreter_stringStackSize - 1] = ""; // L: 3237
Interpreter.Interpreter_stringStack[++class13.Interpreter_stringStackSize - 1] = "";
}
return 1; // L: 3238
} else if (var0 == ScriptOpcodes.OC_COST) { // L: 3240
var3 = Interpreter.Interpreter_intStack[--IsaacCipher.Interpreter_intStackSize]; // L: 3241
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = UserComparator6.ItemDefinition_get(var3).price; // L: 3242
return 1; // L: 3243
} else if (var0 == ScriptOpcodes.OC_STACKABLE) { // L: 3245
var3 = Interpreter.Interpreter_intStack[--IsaacCipher.Interpreter_intStackSize]; // L: 3246
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = UserComparator6.ItemDefinition_get(var3).isStackable == 1 ? 1 : 0; // L: 3247
return 1; // L: 3248
return 1;
} else if (var0 == ScriptOpcodes.OC_COST) {
var3 = Interpreter.Interpreter_intStack[--IsaacCipher.Interpreter_intStackSize];
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = UserComparator6.ItemDefinition_get(var3).price;
return 1;
} else if (var0 == ScriptOpcodes.OC_STACKABLE) {
var3 = Interpreter.Interpreter_intStack[--IsaacCipher.Interpreter_intStackSize];
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = UserComparator6.ItemDefinition_get(var3).isStackable == 1 ? 1 : 0;
return 1;
} else {
ItemComposition var7;
if (var0 == ScriptOpcodes.OC_CERT) { // L: 3250
var3 = Interpreter.Interpreter_intStack[--IsaacCipher.Interpreter_intStackSize]; // L: 3251
var7 = UserComparator6.ItemDefinition_get(var3); // L: 3252
if (var7.noteTemplate == -1 && var7.note >= 0) { // L: 3253
if (var0 == ScriptOpcodes.OC_CERT) {
var3 = Interpreter.Interpreter_intStack[--IsaacCipher.Interpreter_intStackSize];
var7 = UserComparator6.ItemDefinition_get(var3);
if (var7.noteTemplate == -1 && var7.note >= 0) {
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = var7.note;
} else {
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = var3; // L: 3254
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = var3;
}
return 1; // L: 3255
} else if (var0 == ScriptOpcodes.OC_UNCERT) { // L: 3257
var3 = Interpreter.Interpreter_intStack[--IsaacCipher.Interpreter_intStackSize]; // L: 3258
var7 = UserComparator6.ItemDefinition_get(var3); // L: 3259
if (var7.noteTemplate >= 0 && var7.note >= 0) { // L: 3260
return 1;
} else if (var0 == ScriptOpcodes.OC_UNCERT) {
var3 = Interpreter.Interpreter_intStack[--IsaacCipher.Interpreter_intStackSize];
var7 = UserComparator6.ItemDefinition_get(var3);
if (var7.noteTemplate >= 0 && var7.note >= 0) {
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = var7.note;
} else {
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = var3; // L: 3261
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = var3;
}
return 1; // L: 3262
} else if (var0 == ScriptOpcodes.OC_MEMBERS) { // L: 3264
var3 = Interpreter.Interpreter_intStack[--IsaacCipher.Interpreter_intStackSize]; // L: 3265
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = UserComparator6.ItemDefinition_get(var3).isMembersOnly ? 1 : 0; // L: 3266
return 1; // L: 3267
} else if (var0 == ScriptOpcodes.OC_PLACEHOLDER) { // L: 3269
var3 = Interpreter.Interpreter_intStack[--IsaacCipher.Interpreter_intStackSize]; // L: 3270
var7 = UserComparator6.ItemDefinition_get(var3); // L: 3271
if (var7.placeholderTemplate == -1 && var7.placeholder >= 0) { // L: 3272
return 1;
} else if (var0 == ScriptOpcodes.OC_MEMBERS) {
var3 = Interpreter.Interpreter_intStack[--IsaacCipher.Interpreter_intStackSize];
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = UserComparator6.ItemDefinition_get(var3).isMembersOnly ? 1 : 0;
return 1;
} else if (var0 == ScriptOpcodes.OC_PLACEHOLDER) {
var3 = Interpreter.Interpreter_intStack[--IsaacCipher.Interpreter_intStackSize];
var7 = UserComparator6.ItemDefinition_get(var3);
if (var7.placeholderTemplate == -1 && var7.placeholder >= 0) {
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = var7.placeholder;
} else {
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = var3; // L: 3273
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = var3;
}
return 1; // L: 3274
} else if (var0 == ScriptOpcodes.OC_UNPLACEHOLDER) { // L: 3276
var3 = Interpreter.Interpreter_intStack[--IsaacCipher.Interpreter_intStackSize]; // L: 3277
var7 = UserComparator6.ItemDefinition_get(var3); // L: 3278
if (var7.placeholderTemplate >= 0 && var7.placeholder >= 0) { // L: 3279
return 1;
} else if (var0 == ScriptOpcodes.OC_UNPLACEHOLDER) {
var3 = Interpreter.Interpreter_intStack[--IsaacCipher.Interpreter_intStackSize];
var7 = UserComparator6.ItemDefinition_get(var3);
if (var7.placeholderTemplate >= 0 && var7.placeholder >= 0) {
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = var7.placeholder;
} else {
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = var3; // L: 3280
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = var3;
}
return 1; // L: 3281
} else if (var0 == ScriptOpcodes.OC_FIND) { // L: 3283
String var6 = Interpreter.Interpreter_stringStack[--class13.Interpreter_stringStackSize]; // L: 3284
var4 = Interpreter.Interpreter_intStack[--IsaacCipher.Interpreter_intStackSize]; // L: 3285
StructComposition.findItemDefinitions(var6, var4 == 1); // L: 3286
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = GraphicsDefaults.foundItemIdCount; // L: 3287
return 1; // L: 3288
} else if (var0 != ScriptOpcodes.OC_FINDNEXT) { // L: 3290
if (var0 == ScriptOpcodes.OC_FINDRESET) { // L: 3295
class336.foundItemIndex = 0; // L: 3296
return 1; // L: 3297
} else if (var0 == 4213) { // L: 3299
var3 = Interpreter.Interpreter_intStack[--IsaacCipher.Interpreter_intStackSize]; // L: 3300
var4 = UserComparator6.ItemDefinition_get(var3).getShiftClickIndex(); // L: 3301
if (var4 == -1) { // L: 3302
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = var4; // L: 3303
return 1;
} else if (var0 == ScriptOpcodes.OC_FIND) {
String var6 = Interpreter.Interpreter_stringStack[--class13.Interpreter_stringStackSize];
var4 = Interpreter.Interpreter_intStack[--IsaacCipher.Interpreter_intStackSize];
StructComposition.findItemDefinitions(var6, var4 == 1);
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = GraphicsDefaults.foundItemIdCount;
return 1;
} else if (var0 != ScriptOpcodes.OC_FINDNEXT) {
if (var0 == ScriptOpcodes.OC_FINDRESET) {
class336.foundItemIndex = 0;
return 1;
} else if (var0 == 4213) {
var3 = Interpreter.Interpreter_intStack[--IsaacCipher.Interpreter_intStackSize];
var4 = UserComparator6.ItemDefinition_get(var3).getShiftClickIndex();
if (var4 == -1) {
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = var4;
} else {
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = var4 + 1; // L: 3306
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = var4 + 1;
}
return 1; // L: 3308
return 1;
} else {
return 2; // L: 3310
return 2;
}
} else {
if (class113.foundItemIds != null && class336.foundItemIndex < GraphicsDefaults.foundItemIdCount) { // L: 3291
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = class113.foundItemIds[++class336.foundItemIndex - 1] & '\uffff'; // L: 3292
if (class113.foundItemIds != null && class336.foundItemIndex < GraphicsDefaults.foundItemIdCount) {
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = class113.foundItemIds[++class336.foundItemIndex - 1] & '\uffff';
} else {
Interpreter.Interpreter_intStack[++IsaacCipher.Interpreter_intStackSize - 1] = -1;
}
return 1; // L: 3293
return 1;
}
}
}