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,59 @@
function flame_slot_20() /* entry=381 class_id=0x0A0B slot=0x20 */
{
var
referent, /* [BP+00h] type=0x69 */
item, /* [BP-02h] type=0x24 */
detect, /* [BP-03h] type=0x62 */
n; /* [BP-05h] type=0x24 */
entry:
set_info(0x0001, *(arg_06));
block_00F6:
suspend;
detect = 0;
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x3A */
/* loopscr value_u8=0x25 */
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
block_0127:
if condition goto block_018E;
block_012A:
if Item.isNpc(item) goto block_018A;
block_0139:
if Item.overlaps(*(arg_06), item) goto block_018A;
block_014C:
n = item;
class_0A11_slot_2B(n);
if (!retval) goto block_0183;
block_0167:
block_0183:
detect = 1;
block_018A:
/* loopnext */
goto block_0127;
block_018E:
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
suspend;
if (!detect) goto block_01D3;
block_01BF:
class_0A1E_slot_24(4, arg_06);
goto block_01D6;
block_01D3:
goto block_00F6;
block_01D6:
return;
}

View file

@ -0,0 +1,39 @@
function flame_slot_21() /* entry=381 class_id=0x0A0B slot=0x21 */
{
var
referent, /* [BP+00h] type=0x69 */
ref, /* [BP+0Ah] type=0x69 */
n; /* [BP-02h] type=0x24 */
entry:
set_info(0x0001, *(arg_06));
n = ref;
if (Item.getStatus(arg_06) & 4) goto block_023E;
block_0238:
goto block_02AF;
block_023E:
class_0A1E_slot_23(4, arg_06);
block_024C:
suspend;
if (ref < 0x00FF) goto block_02AC;
block_0268:
class_0A11_slot_2B(n);
if (!retval) goto block_0298;
block_027C:
block_0298:
spawn class_0A0B_slot_20(arg_06);
goto block_02AF;
block_02AC:
goto block_024C;
block_02AF:
return;
}