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

@ -6,54 +6,30 @@ function pplate_gotHit() /* entry=79 class_id=0x0198 slot=0x06 */
vel, /* [BP+0Ch] type=0x69 */
item; /* [BP-02h] type=0x24 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
class_0A0C_slot_2C(vel, ref);
if retval goto block_0103;
block_00FD:
goto block_0238;
block_0103:
if (Item.getMapNum(arg_06) != 0) goto block_0218;
block_0115:
set_info(0x020C, *(arg_06));
process_exclude();
class_0A0C_slot_2C(vel, ref);
if (!retval) {
return;
}
else if (Item.getMapArray(arg_06) == 0) {
item = ref;
if ((Intrinsic0057(arg_06) != 0) || (Item.use(*(arg_06), item) != 0)) goto block_0148;
block_0142:
goto block_0238;
block_0148:
if ((Item.getSurfaceWeight(arg_06) == 0) || (Item.isCentreOn(*(arg_06), item) != 0)) {
return;
}
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
suspend;
block_018A:
if 1 goto block_0218;
block_0192:
if (Intrinsic0057(arg_06) != 0) goto block_01CD;
block_01A4:
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
goto block_0215;
block_01CD:
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
suspend;
goto block_0238;
block_0215:
goto block_018A;
block_0218:
if (!Item.getFrame(arg_06)) goto block_0238;
block_022B:
block_0238:
return;
while (!(1)) {
if (Item.getSurfaceWeight(arg_06) == 0) {
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
}
else {
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
suspend;
return;
}
}
}
return;
}