Pseudocode decompialtion improvements and docs

This commit is contained in:
MaddoScientisto 2026-03-26 22:10:48 +01:00
commit 589bfc31ef
1898 changed files with 60634 additions and 6597 deletions

View file

@ -13,14 +13,10 @@ function keypad_slot_20() /* entry=384 class_id=0x0A0E slot=0x20 */
set_info(0x0207, *(arg_06));
wrongCode = 0;
userInput = 0;
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x40 */
/* loopscr value_u8=0x25 */
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
/* loop_selector valueBox in nearby_items(shape=PLACEHOLDER_KEY_CUBE, origin=arg_06) */
while (!condition) {
if (Item.getQLo(valueBox) == Item.getQLo(arg_06)) {
class_0A19_slot_20(valueBox);
VALBOX.slot_20(valueBox);
boxPasscode = retval;
if (boxPasscode <= 0x03E7) {
return;
@ -35,18 +31,18 @@ function keypad_slot_20() /* entry=384 class_id=0x0A0E slot=0x20 */
return;
}
else if (keycode == boxPasscode) {
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
else {
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
suspend;
if (World.getAlertActive()) {
spawn class_0A0C_slot_3B(0x00000000);
spawn FREE.slot_3B(0x00000000);
}
}
/* bit_not */