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,45 @@
function door2_slot_20() /* entry=377 class_id=0x0A07 slot=0x20 */
{
var
referent, /* [BP+00h] type=0x69 */
doorList, /* [BP-02h] type=0x6C */
counter, /* [BP-04h] type=0x69 */
maxFrame; /* [BP-06h] type=0x69 */
entry:
set_info(0x021B, 0);
if (Item.getStatus(arg_06) & 4) goto block_01F9;
block_01F3:
goto block_0306;
block_01F9:
spawn class_0A06_slot_22(pid, arg_06);
suspend;
/* create_list element_size=0x2 count=0xC */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
doorList = 0x00D0;
class_0A0C_slot_3A(0x00A9, 0x00AB, 0x00AC, 0x00AF, 0x00B2, 0x00B3, 0x00B4, 0x00B6, 0x00B7, 0x00B8, 0x00B9, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
counter = 2;
block_0278:
if (counter <= maxFrame) goto block_02FC;
block_0283:
spawn class_0A0C_slot_32(doorList, counter, pid, 2, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0278;
block_02FC:
/* word_to_dword */
/* pop_result */
goto block_0306;
block_0306:
/* free_local_list bp_offset=0xFE target=[BP-02h] */
return;
}

View file

@ -0,0 +1,73 @@
function door2_slot_21() /* entry=377 class_id=0x0A07 slot=0x21 */
{
var
referent, /* [BP+00h] type=0x69 */
doorList, /* [BP-02h] type=0x6C */
counter, /* [BP-04h] type=0x69 */
maxFrame; /* [BP-06h] type=0x69 */
entry:
set_info(0x021B, 0);
if (Item.getStatus(arg_06) & 4) goto block_0370;
block_036A:
goto block_052A;
block_0370:
/* create_list element_size=0x2 count=0xC */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
doorList = 0x00D0;
class_0A0C_slot_3A(0x00A9, 0x00AB, 0x00AC, 0x00AF, 0x00B2, 0x00B3, 0x00B4, 0x00B6, 0x00B7, 0x00B8, 0x00B9, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
counter = (maxFrame - 1);
block_03D3:
if (counter != 0) goto block_0520;
block_03DB:
class_0A0C_slot_2D((Item.getZ(arg_06) - 8), Item.legal_create(arg_06), Intrinsic0013(arg_06), Item.getFrame(arg_06), doorList, counter, list_element(size=0x2), *(arg_06));
if retval goto block_0444;
block_041B:
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
goto block_0510;
block_0444:
counter = (1 + counter);
counter = (1 + counter);
block_0472:
if (counter < (maxFrame + 1)) goto block_0506;
block_0483:
spawn class_0A0C_slot_32(doorList, counter, pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
/* word_to_dword */
/* pop_result */
goto block_052A;
block_0503:
goto block_0472;
block_0506:
/* word_to_dword */
/* pop_result */
goto block_052A;
block_0510:
counter = (counter - 1);
goto block_03D3;
block_0520:
/* word_to_dword */
/* pop_result */
goto block_052A;
block_052A:
/* free_local_list bp_offset=0xFE target=[BP-02h] */
return;
}

View file

@ -0,0 +1,45 @@
function door2_slot_22() /* entry=377 class_id=0x0A07 slot=0x22 */
{
var
referent, /* [BP+00h] type=0x69 */
doorList, /* [BP-02h] type=0x6C */
counter, /* [BP-04h] type=0x69 */
maxFrame; /* [BP-06h] type=0x69 */
entry:
set_info(0x021B, 0);
if (Item.getStatus(arg_06) & 4) goto block_0594;
block_058E:
goto block_069A;
block_0594:
spawn class_0A06_slot_22(pid, arg_06);
suspend;
/* create_list element_size=0x2 count=0xC */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
doorList = 0x0107;
class_0A0C_slot_3A(70, 85, 88, 101, 100, 99, 89, 0x0103, 0x0104, 0x0105, 0x0106, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
counter = 2;
block_060C:
if (counter <= maxFrame) goto block_0690;
block_0617:
spawn class_0A0C_slot_32(doorList, counter, pid, 2, 0x00000000);
suspend;
counter = (1 + counter);
goto block_060C;
block_0690:
/* word_to_dword */
/* pop_result */
goto block_069A;
block_069A:
/* free_local_list bp_offset=0xFE target=[BP-02h] */
return;
}

View file

@ -0,0 +1,69 @@
function door2_slot_23() /* entry=377 class_id=0x0A07 slot=0x23 */
{
var
referent, /* [BP+00h] type=0x69 */
doorList, /* [BP-02h] type=0x6C */
counter, /* [BP-04h] type=0x69 */
counter2, /* [BP-06h] type=0x69 */
maxFrame; /* [BP-08h] type=0x69 */
entry:
set_info(0x021B, 0);
if (Item.getStatus(arg_06) & 4) goto block_0704;
block_06FE:
goto block_08AD;
block_0704:
/* create_list element_size=0x2 count=0xC */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
doorList = 0x0107;
class_0A0C_slot_3A(70, 85, 88, 101, 100, 99, 89, 0x0103, 0x0104, 0x0105, 0x0106, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
counter = (maxFrame - 1);
block_0760:
if (counter != 0) goto block_08A3;
block_0768:
class_0A0C_slot_2D((Item.getZ(arg_06) - 8), Item.legal_create(arg_06), Intrinsic0013(arg_06), Item.getFrame(arg_06), doorList, counter, list_element(size=0x2), *(arg_06));
if retval goto block_07D1;
block_07A8:
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
goto block_0893;
block_07D1:
counter = (1 + counter);
counter = (1 + counter);
block_07FF:
if (counter < (maxFrame + 1)) goto block_0889;
block_0810:
spawn class_0A0C_slot_32(doorList, counter, pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_07FF;
block_0889:
/* word_to_dword */
/* pop_result */
goto block_08AD;
block_0893:
counter = (counter - 1);
goto block_0760;
block_08A3:
/* word_to_dword */
/* pop_result */
goto block_08AD;
block_08AD:
/* free_local_list bp_offset=0xFE target=[BP-02h] */
return;
}

View file

@ -0,0 +1,32 @@
function door2_slot_24() /* entry=377 class_id=0x0A07 slot=0x24 */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
maxFrame; /* [BP-04h] type=0x69 */
entry:
set_info(0x0207, *(arg_06));
spawn class_0A06_slot_22(pid, arg_06);
suspend;
maxFrame = 8;
counter = 1;
block_0945:
if (counter <= maxFrame) goto block_0990;
block_0950:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0945;
block_0990:
/* word_to_dword */
/* pop_result */
goto block_09EC;
block_09EC:
return;
}

View file

@ -0,0 +1,45 @@
function door2_slot_25() /* entry=377 class_id=0x0A07 slot=0x25 */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
counter2, /* [BP-04h] type=0x69 */
maxFrame; /* [BP-06h] type=0x69 */
entry:
set_info(0x0207, *(arg_06));
maxFrame = 8;
class_0A0C_slot_2D((Item.getZ(arg_06) - (8 * 10)), Item.legal_create(arg_06), Intrinsic0013(arg_06), maxFrame, 0x02D6, *(arg_06));
if retval goto block_0AA6;
block_0A70:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
goto block_0AB0;
block_0AA6:
/* word_to_dword */
/* pop_result */
goto block_0B1C;
block_0AB0:
counter = (maxFrame - 1);
block_0ABA:
if (counter > 0) goto block_0B05;
block_0AC2:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
counter = (counter - 1);
goto block_0ABA;
block_0B05:
/* word_to_dword */
/* pop_result */
goto block_0B1C;
block_0B1C:
return;
}

View file

@ -0,0 +1,32 @@
function door2_slot_26() /* entry=377 class_id=0x0A07 slot=0x26 */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
maxFrame; /* [BP-04h] type=0x69 */
entry:
set_info(0x0207, *(arg_06));
spawn class_0A06_slot_22(pid, arg_06);
suspend;
maxFrame = 8;
counter = 1;
block_0BA5:
if (counter <= maxFrame) goto block_0BF0;
block_0BB0:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0BA5;
block_0BF0:
/* word_to_dword */
/* pop_result */
goto block_0C4C;
block_0C4C:
return;
}

View file

@ -0,0 +1,45 @@
function door2_slot_27() /* entry=377 class_id=0x0A07 slot=0x27 */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
counter2, /* [BP-04h] type=0x69 */
maxFrame; /* [BP-06h] type=0x69 */
entry:
set_info(0x0207, *(arg_06));
maxFrame = 8;
class_0A0C_slot_2D((Item.getZ(arg_06) - (8 * 10)), Item.legal_create(arg_06), Intrinsic0013(arg_06), maxFrame, 0x02D5, *(arg_06));
if retval goto block_0D06;
block_0CD0:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
goto block_0D10;
block_0D06:
/* word_to_dword */
/* pop_result */
goto block_0D7C;
block_0D10:
counter = (maxFrame - 1);
block_0D1A:
if (counter > 0) goto block_0D65;
block_0D22:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
counter = (counter - 1);
goto block_0D1A;
block_0D65:
/* word_to_dword */
/* pop_result */
goto block_0D7C;
block_0D7C:
return;
}

View file

@ -0,0 +1,45 @@
function door2_slot_28() /* entry=377 class_id=0x0A07 slot=0x28 */
{
var
referent, /* [BP+00h] type=0x69 */
doorList, /* [BP-02h] type=0x6C */
counter, /* [BP-04h] type=0x69 */
maxFrame; /* [BP-06h] type=0x69 */
entry:
set_info(0x021B, 0);
if (Item.getStatus(arg_06) & 4) goto block_0DE4;
block_0DDE:
goto block_0EE1;
block_0DE4:
spawn class_0A06_slot_22(pid, arg_06);
suspend;
/* create_list element_size=0x2 count=0x7 */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
doorList = 0x00C2;
class_0A0C_slot_3A(5, 0x00BE, 0x00BF, 0x00C0, 0x00C1, 0x00CA, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
counter = 2;
block_0E53:
if (counter <= maxFrame) goto block_0ED7;
block_0E5E:
spawn class_0A0C_slot_32(doorList, pid, 3, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0E53;
block_0ED7:
/* word_to_dword */
/* pop_result */
goto block_0EE1;
block_0EE1:
/* free_local_list bp_offset=0xFE target=[BP-02h] */
return;
}

View file

@ -0,0 +1,68 @@
function door2_slot_29() /* entry=377 class_id=0x0A07 slot=0x29 */
{
var
referent, /* [BP+00h] type=0x69 */
doorList, /* [BP-02h] type=0x6C */
counter, /* [BP-04h] type=0x69 */
maxFrame; /* [BP-06h] type=0x69 */
entry:
set_info(0x021B, 0);
if (Item.getStatus(arg_06) & 4) goto block_0F4B;
block_0F45:
goto block_10DE;
block_0F4B:
/* create_list element_size=0x2 count=0x7 */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
doorList = 0x00C2;
class_0A0C_slot_3A(5, 0x00BE, 0x00BF, 0x00C0, 0x00C1, 0x00CA, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
counter = (maxFrame - 1);
block_0F9E:
if (counter != 0) goto block_10D4;
block_0FA6:
class_0A0C_slot_2D(Item.getZ(arg_06), Item.legal_create(arg_06), (Intrinsic0013(arg_06) + 16), Item.getFrame(arg_06), doorList, counter, list_element(size=0x2), *(arg_06));
if retval goto block_100F;
block_0FE6:
spawn class_0A0C_slot_32(pid, 3, 0x00000000);
suspend;
goto block_10C4;
block_100F:
counter = (1 + counter);
counter = (1 + counter);
block_1030:
if (counter < (maxFrame + 1)) goto block_10BA;
block_1041:
spawn class_0A0C_slot_32(doorList, pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_1030;
block_10BA:
/* word_to_dword */
/* pop_result */
goto block_10DE;
block_10C4:
counter = (counter - 1);
goto block_0F9E;
block_10D4:
/* word_to_dword */
/* pop_result */
goto block_10DE;
block_10DE:
/* free_local_list bp_offset=0xFE target=[BP-02h] */
return;
}

View file

@ -0,0 +1,45 @@
function door2_slot_2A() /* entry=377 class_id=0x0A07 slot=0x2A */
{
var
referent, /* [BP+00h] type=0x69 */
doorList, /* [BP-02h] type=0x6C */
counter, /* [BP-04h] type=0x69 */
maxFrame; /* [BP-06h] type=0x69 */
entry:
set_info(0x021B, 0);
if (Item.getStatus(arg_06) & 4) goto block_1148;
block_1142:
goto block_123A;
block_1148:
spawn class_0A06_slot_22(pid, arg_06);
suspend;
/* create_list element_size=0x2 count=0x7 */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
doorList = 0x00CB;
class_0A0C_slot_3A(123, 0x00C3, 0x00C4, 0x00C5, 0x00C6, 0x00C7, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
counter = 2;
block_11B7:
if (counter <= maxFrame) goto block_1230;
block_11C2:
spawn class_0A0C_slot_32(doorList, pid, 3, 0x00000000);
suspend;
counter = (1 + counter);
goto block_11B7;
block_1230:
/* word_to_dword */
/* pop_result */
goto block_123A;
block_123A:
/* free_local_list bp_offset=0xFE target=[BP-02h] */
return;
}

View file

@ -0,0 +1,68 @@
function door2_slot_2B() /* entry=377 class_id=0x0A07 slot=0x2B */
{
var
referent, /* [BP+00h] type=0x69 */
doorList, /* [BP-02h] type=0x6C */
counter, /* [BP-04h] type=0x69 */
maxFrame; /* [BP-06h] type=0x69 */
entry:
set_info(0x021B, 0);
if (Item.getStatus(arg_06) & 4) goto block_12A4;
block_129E:
goto block_1437;
block_12A4:
/* create_list element_size=0x2 count=0x7 */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
doorList = 0x00CB;
class_0A0C_slot_3A(123, 0x00C3, 0x00C4, 0x00C5, 0x00C6, 0x00C7, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
counter = (maxFrame - 1);
block_12F7:
if (counter != 0) goto block_142D;
block_12FF:
class_0A0C_slot_2D(Item.getZ(arg_06), (Item.legal_create(arg_06) + 16), Intrinsic0013(arg_06), Item.getFrame(arg_06), doorList, counter, list_element(size=0x2), *(arg_06));
if retval goto block_1368;
block_133F:
spawn class_0A0C_slot_32(pid, 3, 0x00000000);
suspend;
goto block_141D;
block_1368:
counter = (1 + counter);
counter = (1 + counter);
block_1389:
if (counter < (maxFrame + 1)) goto block_1413;
block_139A:
spawn class_0A0C_slot_32(doorList, pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_1389;
block_1413:
/* word_to_dword */
/* pop_result */
goto block_1437;
block_141D:
counter = (counter - 1);
goto block_12F7;
block_142D:
/* word_to_dword */
/* pop_result */
goto block_1437;
block_1437:
/* free_local_list bp_offset=0xFE target=[BP-02h] */
return;
}

View file

@ -0,0 +1,40 @@
function door2_slot_2C() /* entry=377 class_id=0x0A07 slot=0x2C */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
maxFrame; /* [BP-04h] type=0x69 */
entry:
set_info(0x0207, *(arg_06));
if (Item.getFrame(arg_06) > 0) goto block_14A7;
block_149D:
/* word_to_dword */
/* pop_result */
goto block_155C;
block_14A7:
spawn class_0A06_slot_22(pid, arg_06);
suspend;
maxFrame = 11;
counter = 1;
block_14E1:
if (counter <= maxFrame) goto block_152C;
block_14EC:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_14E1;
block_152C:
/* word_to_dword */
/* pop_result */
goto block_155C;
block_155C:
return;
}

View file

@ -0,0 +1,44 @@
function door2_slot_2D() /* entry=377 class_id=0x0A07 slot=0x2D */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
maxFrame; /* [BP-04h] type=0x69 */
entry:
set_info(0x0207, *(arg_06));
maxFrame = 11;
class_0A0C_slot_2D(Item.getZ(arg_06), Item.legal_create(arg_06), Intrinsic0013(arg_06), maxFrame, 0x01AB, *(arg_06));
if retval goto block_1610;
block_15DA:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
goto block_161A;
block_1610:
/* word_to_dword */
/* pop_result */
goto block_1679;
block_161A:
counter = (maxFrame - 1);
block_1624:
if (counter >= 0) goto block_166F;
block_162C:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (counter - 1);
goto block_1624;
block_166F:
/* word_to_dword */
/* pop_result */
goto block_1679;
block_1679:
return;
}

View file

@ -0,0 +1,32 @@
function door2_slot_2E() /* entry=377 class_id=0x0A07 slot=0x2E */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
maxFrame; /* [BP-04h] type=0x69 */
entry:
set_info(0x0207, *(arg_06));
spawn class_0A06_slot_22(pid, arg_06);
suspend;
maxFrame = 11;
counter = 1;
block_16F5:
if (counter <= maxFrame) goto block_1740;
block_1700:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_16F5;
block_1740:
/* word_to_dword */
/* pop_result */
goto block_1765;
block_1765:
return;
}

View file

@ -0,0 +1,44 @@
function door2_slot_2F() /* entry=377 class_id=0x0A07 slot=0x2F */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
maxFrame; /* [BP-04h] type=0x69 */
entry:
set_info(0x0207, *(arg_06));
maxFrame = 11;
class_0A0C_slot_2D(Item.getZ(arg_06), Item.legal_create(arg_06), Intrinsic0013(arg_06), maxFrame, 0x0393, *(arg_06));
if retval goto block_1819;
block_17E3:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
goto block_1823;
block_1819:
/* word_to_dword */
/* pop_result */
goto block_1882;
block_1823:
counter = (maxFrame - 1);
block_182D:
if (counter >= 0) goto block_1878;
block_1835:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (counter - 1);
goto block_182D;
block_1878:
/* word_to_dword */
/* pop_result */
goto block_1882;
block_1882:
return;
}

View file

@ -0,0 +1,87 @@
function door2_slot_30() /* entry=377 class_id=0x0A07 slot=0x30 */
{
var
referent, /* [BP+00h] type=0x69 */
doorList, /* [BP-02h] type=0x6C */
doorList2, /* [BP-04h] type=0x6C */
counter, /* [BP-06h] type=0x69 */
door1, /* [BP-08h] type=0x24 */
door2, /* [BP-0Ah] type=0x24 */
item, /* [BP-0Ch] type=0x24 */
maxFrame; /* [BP-0Eh] type=0x69 */
entry:
set_info(0x0207, *(arg_06));
spawn class_0A06_slot_22(pid, arg_06);
suspend;
/* create_list element_size=0x2 count=0x5 */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
doorList = 0x0189;
/* create_list element_size=0x2 count=0x5 */
/* free_local_list bp_offset=0xFC target=[BP-04h] */
doorList2 = 0x0187;
class_0A0C_slot_3A(0x0193, 0x0192, 0x0191, 0x0190, 0x018D, 0x018C, 0x018B, 0x018A, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x40 */
/* loopscr value_u8=0x25 */
/* loop current_var=0xF4 string_bytes=0x6 loop_type=0x2 */
block_1964:
if condition goto block_1972;
block_1967:
door1 = item;
/* loopnext */
goto block_1964;
block_1972:
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x40 */
/* loopscr value_u8=0x25 */
/* loop current_var=0xF4 string_bytes=0x6 loop_type=0x2 */
block_1992:
if condition goto block_19A0;
block_1995:
door2 = item;
/* loopnext */
goto block_1992;
block_19A0:
counter = 2;
block_19A9:
if (counter <= maxFrame) goto block_1A65;
block_19B4:
if door1 goto block_19E4;
block_19BC:
block_19E4:
if door2 goto block_1A32;
block_19EC:
block_1A32:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_19A9;
block_1A65:
/* word_to_dword */
/* pop_result */
goto block_1A6F;
block_1A6F:
/* free_local_list bp_offset=0xFE target=[BP-02h] */
/* free_local_list bp_offset=0xFC target=[BP-04h] */
return;
}

View file

@ -0,0 +1,140 @@
function door2_slot_31() /* entry=377 class_id=0x0A07 slot=0x31 */
{
var
referent, /* [BP+00h] type=0x69 */
doorList, /* [BP-02h] type=0x6C */
doorList2, /* [BP-04h] type=0x6C */
counter, /* [BP-06h] type=0x69 */
counter2, /* [BP-08h] type=0x69 */
door1, /* [BP-0Ah] type=0x24 */
door2, /* [BP-0Ch] type=0x24 */
item, /* [BP-0Eh] type=0x24 */
nonLegalDoor1, /* [BP-0Fh] type=0x62 */
nonLegalDoor2, /* [BP-10h] type=0x62 */
bool, /* [BP-11h] type=0x62 */
maxFrame; /* [BP-13h] type=0x69 */
entry:
set_info(0x0207, *(arg_06));
/* create_list element_size=0x2 count=0x5 */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
doorList = 0x0189;
/* create_list element_size=0x2 count=0x5 */
/* free_local_list bp_offset=0xFC target=[BP-04h] */
doorList2 = 0x0187;
class_0A0C_slot_3A(0x0193, 0x0192, 0x0191, 0x0190, 0x018D, 0x018C, 0x018B, 0x018A, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x40 */
/* loopscr value_u8=0x25 */
/* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
block_1B61:
if condition goto block_1B6F;
block_1B64:
door1 = item;
/* loopnext */
goto block_1B61;
block_1B6F:
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x40 */
/* loopscr value_u8=0x25 */
/* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
block_1B8F:
if condition goto block_1B9D;
block_1B92:
door2 = item;
/* loopnext */
goto block_1B8F;
block_1B9D:
if (door1 && door2) goto block_1E43;
block_1BB0:
counter = 1;
block_1BC4:
if (counter <= (maxFrame - 1)) goto block_1E43;
block_1BD5:
class_0A0C_slot_2D(Item.getZ(door1), Item.legal_create(door1), Intrinsic0013(door1), 0, doorList, (maxFrame - counter), list_element(size=0x2), door1);
if (!retval) goto block_1C17;
block_1C10:
nonLegalDoor1 = 1;
block_1C17:
class_0A0C_slot_2D(Item.getZ(door2), Item.legal_create(door2), (Intrinsic0013(door2) + 16), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
if (!retval) goto block_1C5C;
block_1C55:
nonLegalDoor2 = 1;
block_1C5C:
if ((!nonLegalDoor1) && (!nonLegalDoor2)) goto block_1CAB;
block_1C6C:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
goto block_1E36;
block_1CAB:
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
suspend;
if nonLegalDoor1 goto block_1D25;
block_1CD9:
block_1D25:
if nonLegalDoor2 goto block_1D45;
block_1D2D:
block_1D45:
counter2 = ((maxFrame - counter) + 1);
block_1D52:
if (counter2 <= maxFrame) goto block_1E2C;
block_1D5D:
if (!bool) goto block_1DD0;
block_1DA0:
bool = 1;
goto block_1DF9;
block_1DD0:
block_1DF9:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
counter2 = (1 + counter2);
goto block_1D52;
block_1E2C:
/* word_to_dword */
/* pop_result */
goto block_1E4D;
block_1E36:
counter = (1 + counter);
goto block_1BC4;
block_1E43:
/* word_to_dword */
/* pop_result */
goto block_1E4D;
block_1E4D:
/* free_local_list bp_offset=0xFE target=[BP-02h] */
/* free_local_list bp_offset=0xFC target=[BP-04h] */
return;
}

View file

@ -0,0 +1,87 @@
function door2_slot_32() /* entry=377 class_id=0x0A07 slot=0x32 */
{
var
referent, /* [BP+00h] type=0x69 */
doorList, /* [BP-02h] type=0x6C */
doorList2, /* [BP-04h] type=0x6C */
counter, /* [BP-06h] type=0x69 */
door1, /* [BP-08h] type=0x24 */
door2, /* [BP-0Ah] type=0x24 */
item, /* [BP-0Ch] type=0x24 */
maxFrame; /* [BP-0Eh] type=0x69 */
entry:
set_info(0x0207, *(arg_06));
spawn class_0A06_slot_22(pid, arg_06);
suspend;
/* create_list element_size=0x2 count=0x5 */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
doorList = 0x0289;
/* create_list element_size=0x2 count=0x5 */
/* free_local_list bp_offset=0xFC target=[BP-04h] */
doorList2 = 0x028E;
class_0A0C_slot_3A(0x01C7, 0x0288, 0x028C, 0x0287, 0x01C6, 0x028A, 0x028B, 0x028D, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x40 */
/* loopscr value_u8=0x25 */
/* loop current_var=0xF4 string_bytes=0x6 loop_type=0x2 */
block_1FA5:
if condition goto block_1FB3;
block_1FA8:
door1 = item;
/* loopnext */
goto block_1FA5;
block_1FB3:
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x40 */
/* loopscr value_u8=0x25 */
/* loop current_var=0xF4 string_bytes=0x6 loop_type=0x2 */
block_1FD3:
if condition goto block_1FE1;
block_1FD6:
door2 = item;
/* loopnext */
goto block_1FD3;
block_1FE1:
counter = 2;
block_1FEA:
if (counter <= maxFrame) goto block_20A6;
block_1FF5:
if door1 goto block_2043;
block_1FFD:
block_2043:
if door2 goto block_2073;
block_204B:
block_2073:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_1FEA;
block_20A6:
/* word_to_dword */
/* pop_result */
goto block_20B0;
block_20B0:
/* free_local_list bp_offset=0xFE target=[BP-02h] */
/* free_local_list bp_offset=0xFC target=[BP-04h] */
return;
}

View file

@ -0,0 +1,140 @@
function door2_slot_33() /* entry=377 class_id=0x0A07 slot=0x33 */
{
var
referent, /* [BP+00h] type=0x69 */
doorList, /* [BP-02h] type=0x6C */
doorList2, /* [BP-04h] type=0x6C */
counter, /* [BP-06h] type=0x69 */
counter2, /* [BP-08h] type=0x69 */
door1, /* [BP-0Ah] type=0x24 */
door2, /* [BP-0Ch] type=0x24 */
item, /* [BP-0Eh] type=0x24 */
nonLegalDoor1, /* [BP-0Fh] type=0x62 */
nonLegalDoor2, /* [BP-10h] type=0x62 */
bool, /* [BP-11h] type=0x62 */
maxFrame; /* [BP-13h] type=0x69 */
entry:
set_info(0x0207, *(arg_06));
/* create_list element_size=0x2 count=0x5 */
/* free_local_list bp_offset=0xFE target=[BP-02h] */
doorList = 0x0289;
/* create_list element_size=0x2 count=0x5 */
/* free_local_list bp_offset=0xFC target=[BP-04h] */
doorList2 = 0x028E;
class_0A0C_slot_3A(0x01C7, 0x0288, 0x028C, 0x0287, 0x01C6, 0x028A, 0x028B, 0x028D, doorList);
/* free_stack_list value_u8=0x0 target=[SP+00h] */
maxFrame = retval;
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x40 */
/* loopscr value_u8=0x25 */
/* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
block_21A2:
if condition goto block_21B0;
block_21A5:
door1 = item;
/* loopnext */
goto block_21A2;
block_21B0:
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x40 */
/* loopscr value_u8=0x25 */
/* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
block_21D0:
if condition goto block_21DE;
block_21D3:
door2 = item;
/* loopnext */
goto block_21D0;
block_21DE:
if (door1 && door2) goto block_24B5;
block_21F1:
counter = 1;
block_2205:
if (counter <= (maxFrame - 1)) goto block_24B5;
block_2216:
class_0A0C_slot_2D(Item.getZ(door2), Item.legal_create(door2), Intrinsic0013(door2), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
if (!retval) goto block_2258;
block_2251:
nonLegalDoor1 = 1;
block_2258:
class_0A0C_slot_2D(Item.getZ(door1), (Item.legal_create(door1) + 16), Intrinsic0013(door1), 0, doorList, (maxFrame - counter), list_element(size=0x2), door1);
if (!retval) goto block_229D;
block_2296:
nonLegalDoor2 = 1;
block_229D:
if ((!nonLegalDoor1) && (!nonLegalDoor2)) goto block_22EC;
block_22AD:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
goto block_24A8;
block_22EC:
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
suspend;
if nonLegalDoor1 goto block_2397;
block_231A:
block_2397:
if nonLegalDoor2 goto block_23B7;
block_239F:
block_23B7:
counter2 = ((maxFrame - counter) + 1);
block_23C4:
if (counter2 <= maxFrame) goto block_249E;
block_23CF:
if (!bool) goto block_2442;
block_2412:
bool = 1;
goto block_246B;
block_2442:
block_246B:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
counter2 = (1 + counter2);
goto block_23C4;
block_249E:
/* word_to_dword */
/* pop_result */
goto block_24BF;
block_24A8:
counter = (1 + counter);
goto block_2205;
block_24B5:
/* word_to_dword */
/* pop_result */
goto block_24BF;
block_24BF:
/* free_local_list bp_offset=0xFE target=[BP-02h] */
/* free_local_list bp_offset=0xFC target=[BP-04h] */
return;
}

View file

@ -0,0 +1,47 @@
function door2_slot_34() /* entry=377 class_id=0x0A07 slot=0x34 */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
maxFrame, /* [BP-04h] type=0x69 */
link, /* [BP-06h] type=0x69 */
item, /* [BP-08h] type=0x24 */
item2; /* [BP-0Ah] type=0x24 */
entry:
set_info(0x0207, *(arg_06));
spawn class_0A06_slot_22(pid, arg_06);
suspend;
set_info(1, 0);
maxFrame = 7;
counter = 1;
block_25AC:
if (counter <= maxFrame) goto block_25F7;
block_25B7:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_25AC;
block_25F7:
link = Item.fall(arg_06);
if (Intrinsic0019(Item.getZ(arg_06), (Item.legal_create(arg_06) - 0x00D0), Intrinsic0013(arg_06), 1, 0x0090, item2) != 1) goto block_2670;
block_2663:
block_2670:
if (Intrinsic0019((Item.getZ(arg_06) + 80), Item.legal_create(arg_06), Intrinsic0013(arg_06), 0, 0x01ED, item) != 1) goto block_26B2;
block_26A5:
block_26B2:
/* word_to_dword */
/* pop_result */
goto block_26BC;
block_26BC:
return;
}

View file

@ -0,0 +1,91 @@
function door2_slot_35() /* entry=377 class_id=0x0A07 slot=0x35 */
{
var
referent, /* [BP+00h] type=0x69 */
item, /* [BP-02h] type=0x24 */
item2, /* [BP-04h] type=0x24 */
item3, /* [BP-06h] type=0x24 */
prisDoor, /* [BP-08h] type=0x24 */
counter, /* [BP-0Ah] type=0x69 */
maxFrame, /* [BP-0Ch] type=0x69 */
cox, /* [BP-0Eh] type=0x69 */
coy, /* [BP-10h] type=0x69 */
coz, /* [BP-12h] type=0x69 */
x1, /* [BP-14h] type=0x69 */
y1, /* [BP-16h] type=0x69 */
x2, /* [BP-18h] type=0x69 */
y2, /* [BP-1Ah] type=0x69 */
z1, /* [BP-1Ch] type=0x69 */
z2, /* [BP-1Eh] type=0x69 */
link; /* [BP-20h] type=0x69 */
entry:
set_info(0x0207, *(arg_06));
set_info(1, 0);
maxFrame = 7;
prisDoor = *(arg_06);
cox = Intrinsic0013(arg_06);
coy = Item.legal_create(arg_06);
coz = Item.getZ(arg_06);
/* 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=0x6 */
block_2778:
if condition goto block_27FE;
block_277B:
if (Item.getFrame(item) != 0) goto block_27C5;
block_278D:
x1 = Intrinsic0013(item);
y1 = Item.legal_create(item);
z1 = Item.getZ(item);
goto block_27FA;
block_27C5:
x2 = Intrinsic0013(item);
y2 = Item.legal_create(item);
z2 = Item.getZ(item);
block_27FA:
/* loopnext */
goto block_2778;
block_27FE:
link = Item.fall(arg_06);
if (Intrinsic0019((coz - 80), coy, cox, 7, 0x01EE, item2) != 1) goto block_28DB;
block_2839:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = 1;
block_2880:
if (counter <= maxFrame) goto block_28CE;
block_288B:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_2880;
block_28CE:
/* word_to_dword */
/* pop_result */
goto block_2948;
block_28D8:
goto block_2948;
block_28DB:
/* word_to_dword */
/* pop_result */
goto block_2948;
block_2948:
return;
}

View file

@ -0,0 +1,47 @@
function door2_slot_36() /* entry=377 class_id=0x0A07 slot=0x36 */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
maxFrame, /* [BP-04h] type=0x69 */
link, /* [BP-06h] type=0x69 */
item, /* [BP-08h] type=0x24 */
item2; /* [BP-0Ah] type=0x24 */
entry:
set_info(0x0207, *(arg_06));
spawn class_0A06_slot_22(pid, arg_06);
suspend;
set_info(1, 0);
maxFrame = 7;
counter = 1;
block_2A34:
if (counter <= maxFrame) goto block_2A7F;
block_2A3F:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_2A34;
block_2A7F:
link = Item.fall(arg_06);
if (Intrinsic0019(Item.getZ(arg_06), Item.legal_create(arg_06), (Intrinsic0013(arg_06) - 0x00D0), 1, 0x0238, item2) != 1) goto block_2AF8;
block_2AEB:
block_2AF8:
if (Intrinsic0019((Item.getZ(arg_06) + 80), Item.legal_create(arg_06), Intrinsic0013(arg_06), 0, 0x03C7, item) != 1) goto block_2B3A;
block_2B2D:
block_2B3A:
/* word_to_dword */
/* pop_result */
goto block_2B44;
block_2B44:
return;
}

View file

@ -0,0 +1,90 @@
function door2_slot_37() /* entry=377 class_id=0x0A07 slot=0x37 */
{
var
referent, /* [BP+00h] type=0x69 */
item, /* [BP-02h] type=0x24 */
item2, /* [BP-04h] type=0x24 */
prisDoor, /* [BP-06h] type=0x24 */
counter, /* [BP-08h] type=0x69 */
maxFrame, /* [BP-0Ah] type=0x69 */
cox, /* [BP-0Ch] type=0x69 */
coy, /* [BP-0Eh] type=0x69 */
coz, /* [BP-10h] type=0x69 */
x1, /* [BP-12h] type=0x69 */
y1, /* [BP-14h] type=0x69 */
x2, /* [BP-16h] type=0x69 */
y2, /* [BP-18h] type=0x69 */
z1, /* [BP-1Ah] type=0x69 */
z2, /* [BP-1Ch] type=0x69 */
link; /* [BP-1Eh] type=0x69 */
entry:
set_info(0x0207, *(arg_06));
set_info(1, 0);
maxFrame = 7;
prisDoor = *(arg_06);
cox = Intrinsic0013(arg_06);
coy = Item.legal_create(arg_06);
coz = Item.getZ(arg_06);
/* 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=0x6 */
block_2C00:
if condition goto block_2C86;
block_2C03:
if (Item.getFrame(item) != 0) goto block_2C4D;
block_2C15:
x1 = Intrinsic0013(item);
y1 = Item.legal_create(item);
z1 = Item.getZ(item);
goto block_2C82;
block_2C4D:
x2 = Intrinsic0013(item);
y2 = Item.legal_create(item);
z2 = Item.getZ(item);
block_2C82:
/* loopnext */
goto block_2C00;
block_2C86:
link = Item.fall(arg_06);
if (Intrinsic0019((coz - 80), coy, cox, maxFrame, 0x03AD, item2) != 1) goto block_2D63;
block_2CC1:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = 1;
block_2D08:
if (counter <= maxFrame) goto block_2D56;
block_2D13:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_2D08;
block_2D56:
/* word_to_dword */
/* pop_result */
goto block_2DD0;
block_2D60:
goto block_2DD0;
block_2D63:
/* word_to_dword */
/* pop_result */
goto block_2DD0;
block_2DD0:
return;
}

View file

@ -0,0 +1,30 @@
function door2_slot_38() /* entry=377 class_id=0x0A07 slot=0x38 */
{
var
referent, /* [BP+00h] type=0x69 */
counter; /* [BP-02h] type=0x69 */
entry:
set_info(0x0207, *(arg_06));
spawn class_0A06_slot_22(pid, arg_06);
suspend;
counter = 1;
block_2EB0:
if (counter <= 3) goto block_2EF8;
block_2EB8:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_2EB0;
block_2EF8:
/* word_to_dword */
/* pop_result */
goto block_2F52;
block_2F52:
return;
}

View file

@ -0,0 +1,40 @@
function door2_slot_39() /* entry=377 class_id=0x0A07 slot=0x39 */
{
var
referent, /* [BP+00h] type=0x69 */
counter; /* [BP-02h] type=0x69 */
entry:
set_info(0x0207, *(arg_06));
class_0A0C_slot_2D(Item.getZ(arg_06), Item.legal_create(arg_06), (Intrinsic0013(arg_06) + 0x0080), 3, 0x028F, *(arg_06));
if retval goto block_3029;
block_2FBD:
counter = 0;
block_2FD1:
if (counter <= 3) goto block_301C;
block_2FD9:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_2FD1;
block_301C:
/* word_to_dword */
/* pop_result */
goto block_3033;
block_3026:
goto block_3033;
block_3029:
/* word_to_dword */
/* pop_result */
goto block_3033;
block_3033:
return;
}

View file

@ -0,0 +1,30 @@
function door2_slot_3A() /* entry=377 class_id=0x0A07 slot=0x3A */
{
var
referent, /* [BP+00h] type=0x69 */
counter; /* [BP-02h] type=0x69 */
entry:
set_info(0x0207, *(arg_06));
spawn class_0A06_slot_22(pid, arg_06);
suspend;
counter = 1;
block_309B:
if (counter <= 3) goto block_30E3;
block_30A3:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_309B;
block_30E3:
/* word_to_dword */
/* pop_result */
goto block_3113;
block_3113:
return;
}

View file

@ -0,0 +1,40 @@
function door2_slot_3B() /* entry=377 class_id=0x0A07 slot=0x3B */
{
var
referent, /* [BP+00h] type=0x69 */
counter; /* [BP-02h] type=0x69 */
entry:
set_info(0x0207, *(arg_06));
class_0A0C_slot_2D(Item.getZ(arg_06), Item.legal_create(arg_06), Intrinsic0013(arg_06), 3, 0x0312, *(arg_06));
if retval goto block_31E6;
block_317A:
counter = 0;
block_318E:
if (counter <= 3) goto block_31D9;
block_3196:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_318E;
block_31D9:
/* word_to_dword */
/* pop_result */
goto block_31F0;
block_31E3:
goto block_31F0;
block_31E6:
/* word_to_dword */
/* pop_result */
goto block_31F0;
block_31F0:
return;
}

View file

@ -0,0 +1,60 @@
function door2_slot_3C() /* entry=377 class_id=0x0A07 slot=0x3C */
{
var
referent, /* [BP+00h] type=0x69 */
counter; /* [BP-02h] type=0x69 */
entry:
set_info(0x0207, *(arg_06));
if (!(Item.getStatus(arg_06) & 0x1000)) goto block_323F;
block_3239:
goto block_339A;
block_323F:
class_0A1E_slot_23(0x1000, arg_06);
if (Item.getFrame(arg_06) != 0) goto block_32ED;
block_3270:
counter = 0;
block_3277:
if (counter <= 9) goto block_32BF;
block_327F:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_3277;
block_32BF:
goto block_3381;
block_32ED:
if (Item.getFrame(arg_06) != 9) goto block_3381;
block_3302:
counter = 0;
block_3333:
if (counter <= 9) goto block_337E;
block_333B:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_3333;
block_337E:
goto block_3381;
block_3381:
class_0A1E_slot_24(0x1000, arg_06);
/* word_to_dword */
/* pop_result */
goto block_339A;
block_339A:
return;
}

View file

@ -0,0 +1,39 @@
function door2_slot_3D() /* entry=377 class_id=0x0A07 slot=0x3D */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
item; /* [BP-04h] type=0x24 */
entry:
set_info(0x0207, *(arg_06));
spawn class_0A06_slot_22(pid, arg_06);
suspend;
counter = 1;
block_3402:
if (counter <= 4) goto block_344A;
block_340A:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_3402;
block_344A:
if (Intrinsic0016(arg_06) != 0x03FF) goto block_3481;
block_3470:
goto block_34C9;
block_3481:
block_34C9:
/* word_to_dword */
/* pop_result */
goto block_34DE;
block_34DE:
return;
}

View file

@ -0,0 +1,67 @@
function door2_slot_3E() /* entry=377 class_id=0x0A07 slot=0x3E */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
item; /* [BP-04h] type=0x24 */
entry:
set_info(0x0207, *(arg_06));
if (Intrinsic0016(arg_06) != 0x0440) goto block_3578;
block_3535:
class_0A0C_slot_2D(Item.getZ(arg_06), Item.legal_create(arg_06), Intrinsic0013(arg_06), 4, 0x03FF, *(arg_06));
if (!retval) goto block_3575;
block_356B:
/* word_to_dword */
/* pop_result */
goto block_368C;
block_3575:
goto block_3623;
block_3578:
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x40 */
/* loopscr value_u8=0x25 */
/* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
block_3596:
if condition goto block_35A8;
block_3599:
/* loopnext */
goto block_3596;
block_35A8:
class_0A0C_slot_2D(Item.getZ(arg_06), Item.legal_create(arg_06), Intrinsic0013(arg_06), 4, 51, *(arg_06));
if (!retval) goto block_3623;
block_35DF:
/* word_to_dword */
/* pop_result */
goto block_368C;
block_3623:
counter = 0;
block_3637:
if (counter <= 4) goto block_3682;
block_363F:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_3637;
block_3682:
/* word_to_dword */
/* pop_result */
goto block_368C;
block_368C:
return;
}

View file

@ -0,0 +1,39 @@
function door2_slot_3F() /* entry=377 class_id=0x0A07 slot=0x3F */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
item; /* [BP-04h] type=0x24 */
entry:
set_info(0x0207, *(arg_06));
spawn class_0A06_slot_22(pid, arg_06);
suspend;
counter = 1;
block_36FD:
if (counter <= 4) goto block_3745;
block_3705:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_36FD;
block_3745:
if (Intrinsic0016(arg_06) != 0x03F8) goto block_377C;
block_376B:
goto block_37C4;
block_377C:
block_37C4:
/* word_to_dword */
/* pop_result */
goto block_37D9;
block_37D9:
return;
}

View file

@ -0,0 +1,67 @@
function door2_slot_40() /* entry=377 class_id=0x0A07 slot=0x40 */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
item; /* [BP-04h] type=0x24 */
entry:
set_info(0x0207, *(arg_06));
if (Intrinsic0016(arg_06) != 0x043F) goto block_3873;
block_3830:
class_0A0C_slot_2D(Item.getZ(arg_06), Item.legal_create(arg_06), Intrinsic0013(arg_06), 4, 0x03F8, *(arg_06));
if (!retval) goto block_3870;
block_3866:
/* word_to_dword */
/* pop_result */
goto block_3987;
block_3870:
goto block_391E;
block_3873:
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x40 */
/* loopscr value_u8=0x25 */
/* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
block_3891:
if condition goto block_38A3;
block_3894:
/* loopnext */
goto block_3891;
block_38A3:
class_0A0C_slot_2D(Item.getZ(arg_06), Item.legal_create(arg_06), Intrinsic0013(arg_06), 4, 108, *(arg_06));
if (!retval) goto block_391E;
block_38DA:
/* word_to_dword */
/* pop_result */
goto block_3987;
block_391E:
counter = 0;
block_3932:
if (counter <= 4) goto block_397D;
block_393A:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_3932;
block_397D:
/* word_to_dword */
/* pop_result */
goto block_3987;
block_3987:
return;
}

View file

@ -0,0 +1,31 @@
function door2_slot_41() /* entry=377 class_id=0x0A07 slot=0x41 */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
item; /* [BP-04h] type=0x24 */
entry:
set_info(0x0207, *(arg_06));
spawn class_0A06_slot_22(pid, arg_06);
suspend;
counter = 1;
block_39F8:
if (counter <= 6) goto block_3A40;
block_3A00:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_39F8;
block_3A40:
/* word_to_dword */
/* pop_result */
goto block_3A7B;
block_3A7B:
return;
}

View file

@ -0,0 +1,38 @@
function door2_slot_42() /* entry=377 class_id=0x0A07 slot=0x42 */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
item; /* [BP-04h] type=0x24 */
entry:
set_info(0x0207, *(arg_06));
class_0A0C_slot_2D(Item.getZ(arg_06), Item.legal_create(arg_06), Intrinsic0013(arg_06), 6, 0x03B9, *(arg_06));
if (!retval) goto block_3AF9;
block_3AEF:
/* word_to_dword */
/* pop_result */
goto block_3B62;
block_3AF9:
counter = 0;
block_3B0D:
if (counter <= 6) goto block_3B58;
block_3B15:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_3B0D;
block_3B58:
/* word_to_dword */
/* pop_result */
goto block_3B62;
block_3B62:
return;
}

View file

@ -0,0 +1,31 @@
function door2_slot_43() /* entry=377 class_id=0x0A07 slot=0x43 */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
item; /* [BP-04h] type=0x24 */
entry:
set_info(0x0207, *(arg_06));
spawn class_0A06_slot_22(pid, arg_06);
suspend;
counter = 1;
block_3BD3:
if (counter <= 6) goto block_3C1B;
block_3BDB:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_3BD3;
block_3C1B:
/* word_to_dword */
/* pop_result */
goto block_3C56;
block_3C56:
return;
}

View file

@ -0,0 +1,38 @@
function door2_slot_44() /* entry=377 class_id=0x0A07 slot=0x44 */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
item; /* [BP-04h] type=0x24 */
entry:
set_info(0x0207, *(arg_06));
class_0A0C_slot_2D(Item.getZ(arg_06), Item.legal_create(arg_06), Intrinsic0013(arg_06), 6, 0x03BA, *(arg_06));
if (!retval) goto block_3CD4;
block_3CCA:
/* word_to_dword */
/* pop_result */
goto block_3D3D;
block_3CD4:
counter = 0;
block_3CE8:
if (counter <= 6) goto block_3D33;
block_3CF0:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_3CE8;
block_3D33:
/* word_to_dword */
/* pop_result */
goto block_3D3D;
block_3D3D:
return;
}

View file

@ -0,0 +1,42 @@
function door2_slot_45() /* entry=377 class_id=0x0A07 slot=0x45 */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
newFrame, /* [BP-04h] type=0x69 */
item; /* [BP-06h] type=0x24 */
entry:
set_info(0x0207, *(arg_06));
spawn class_0A06_slot_22(pid, arg_06);
suspend;
if (Item.getFrame(arg_06) <= 11) goto block_3DC6;
block_3DBC:
newFrame = 0;
goto block_3DCD;
block_3DC6:
newFrame = 1;
block_3DCD:
counter = 1;
block_3DD4:
if (counter <= 11) goto block_3E22;
block_3DDC:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_3DD4;
block_3E22:
/* word_to_dword */
/* pop_result */
goto block_3E5D;
block_3E5D:
return;
}

View file

@ -0,0 +1,49 @@
function door2_slot_46() /* entry=377 class_id=0x0A07 slot=0x46 */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
newFrame, /* [BP-04h] type=0x69 */
item; /* [BP-06h] type=0x24 */
entry:
set_info(0x0207, *(arg_06));
if (!Item.getFrame(arg_06)) goto block_3EC5;
block_3EBB:
newFrame = 11;
goto block_3ECC;
block_3EC5:
newFrame = 26;
block_3ECC:
class_0A0C_slot_2D(Item.getZ(arg_06), Item.legal_create(arg_06), Intrinsic0013(arg_06), newFrame, 0x046A, *(arg_06));
if (!retval) goto block_3F0C;
block_3F02:
/* word_to_dword */
/* pop_result */
goto block_3F75;
block_3F0C:
counter = 0;
block_3F20:
if (counter <= 11) goto block_3F6B;
block_3F28:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_3F20;
block_3F6B:
/* word_to_dword */
/* pop_result */
goto block_3F75;
block_3F75:
return;
}

View file

@ -0,0 +1,42 @@
function door2_slot_47() /* entry=377 class_id=0x0A07 slot=0x47 */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
newFrame, /* [BP-04h] type=0x69 */
item; /* [BP-06h] type=0x24 */
entry:
set_info(0x0207, *(arg_06));
spawn class_0A06_slot_22(pid, arg_06);
suspend;
if (Item.getFrame(arg_06) <= 11) goto block_400B;
block_4001:
newFrame = 0;
goto block_4012;
block_400B:
newFrame = 1;
block_4012:
counter = 1;
block_4019:
if (counter <= 11) goto block_4067;
block_4021:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_4019;
block_4067:
/* word_to_dword */
/* pop_result */
goto block_40A2;
block_40A2:
return;
}

View file

@ -0,0 +1,49 @@
function door2_slot_48() /* entry=377 class_id=0x0A07 slot=0x48 */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
newFrame, /* [BP-04h] type=0x69 */
item; /* [BP-06h] type=0x24 */
entry:
set_info(0x0207, *(arg_06));
if (!Item.getFrame(arg_06)) goto block_410A;
block_4100:
newFrame = 11;
goto block_4111;
block_410A:
newFrame = 26;
block_4111:
class_0A0C_slot_2D(Item.getZ(arg_06), Item.legal_create(arg_06), Intrinsic0013(arg_06), newFrame, 0x03C6, *(arg_06));
if (!retval) goto block_4151;
block_4147:
/* word_to_dword */
/* pop_result */
goto block_41BA;
block_4151:
counter = 0;
block_4165:
if (counter <= 11) goto block_41B0;
block_416D:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
counter = (1 + counter);
goto block_4165;
block_41B0:
/* word_to_dword */
/* pop_result */
goto block_41BA;
block_41BA:
return;
}