Usecode pseudocode

This commit is contained in:
MaddoScientisto 2026-03-26 00:37:17 +01:00
commit c12bb39437
1362 changed files with 71072 additions and 38056 deletions

View file

@ -9,51 +9,35 @@ function mcrate_gotHit() /* entry=231 class_id=0x0432 slot=0x06 */
z, /* [BP-05h] type=0x62 */
item; /* [BP-07h] type=0x24 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
class_0A0C_slot_2C(vel, ref);
if retval goto block_0251;
block_00FD:
set_info(0x020C, *(arg_06));
process_exclude();
class_0A0C_slot_2C(vel, ref);
if (!retval) {
spawn class_0A1E_slot_27(pid, 100, vel, ref, arg_06);
suspend;
/* dword_to_word */
if (!process_result) goto block_015D;
block_012D:
class_0A0C_slot_20(1);
if retval goto block_014D;
block_013D:
goto block_015A;
block_014D:
block_015A:
goto block_0251;
block_015D:
x = Intrinsic0013(arg_06);
y = Item.legal_create(arg_06);
z = Item.getZ(arg_06);
set_info(1, 0);
if (Item.getFrame(arg_06) != 0) goto block_01F0;
block_019E:
spawn class_0A1E_slot_28(pid, 1, 0, arg_06);
suspend;
goto block_0251;
block_01F0:
if (Item.getFrame(arg_06) != 1) goto block_0251;
block_01FF:
spawn class_0A1E_slot_28(pid, 1, 1, arg_06);
suspend;
goto block_0251;
block_0251:
return;
if (process_result) {
class_0A0C_slot_20(1);
if (!retval) {
}
return;
}
else {
x = Item.getX(arg_06);
y = Item.getY(arg_06);
z = Item.getZ(arg_06);
set_info(1, 0);
if (Item.getFrame(arg_06) == 0) {
spawn class_0A1E_slot_28(pid, 1, 0, arg_06);
suspend;
return;
}
else if (Item.getFrame(arg_06) == 1) {
spawn class_0A1E_slot_28(pid, 1, 1, arg_06);
suspend;
return;
}
}
}
return;
}