Pseudocode and stuff

This commit is contained in:
MaddoScientisto 2026-03-25 23:32:13 +01:00
commit ee33f94b4b
466 changed files with 27770 additions and 276 deletions

View file

@ -0,0 +1,21 @@
function d_guard_use() /* entry=182 class_id=0x0339 slot=0x01 */
{
entry:
set_info(0x0207, *(arg_06));
process_exclude();
if (Item.getStatus(arg_06) & 0x1000) goto block_021D;
block_0217:
goto block_023E;
block_021D:
class_0A0C_slot_40(*(arg_06));
if retval goto block_023E;
block_022F:
class_0A1E_slot_23(0x1000, arg_06);
block_023E:
return;
}

View file

@ -0,0 +1,47 @@
function d_guard_gotHit() /* entry=182 class_id=0x0339 slot=0x06 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
vel, /* [BP+0Ch] type=0x69 */
goods; /* [BP-02h] type=0x24 */
entry:
set_info(0x020C, *(arg_06));
process_exclude();
class_0A0C_slot_2C(vel, ref);
if ((retval != 4) || (Intrinsic006B() != 0)) goto block_0115;
block_010F:
goto block_01C0;
block_0115:
/* loopscr value_u8=0x24 */
/* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
block_0125:
if condition goto block_0184;
block_0128:
if (Intrinsic0016(goods) != 0x0111) goto block_0175;
block_0141:
goto block_0180;
block_0175:
block_0180:
/* loopnext */
goto block_0125;
block_0184:
if Item.getFrame(arg_06) goto block_01AB;
block_0195:
block_01AB:
block_01C0:
return;
}