Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/REBSNOR/slot_0F_enterFastArea.txt
2026-03-25 23:32:36 +01:00

58 lines
1.1 KiB
Text

function rebsnor_enterFastArea() /* entry=310 class_id=0x0544 slot=0x0F */
{
var
referent, /* [BP+00h] type=0x69 */
counter; /* [BP-02h] type=0x69 */
entry:
set_info(0x021B, *(arg_06));
process_exclude();
if (global[0x001F] > 3) goto block_0222;
block_00FB:
if (Intrinsic00DA(10, 1) > 5) goto block_0128;
block_0112:
goto block_0222;
block_0125:
goto block_0222;
block_0128:
if 1 goto block_0222;
block_0130:
counter = 0;
block_0137:
if (counter <= 5) goto block_017F;
block_013F:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0137;
block_017F:
spawn class_0A0C_slot_32(pid, 0x012C, 0x00000000);
suspend;
counter = 0;
block_01AD:
if (counter <= 5) goto block_01F8;
block_01B5:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_01AD;
block_01F8:
spawn class_0A0C_slot_32(pid, 0x00DC, 0x00000000);
suspend;
goto block_0128;
block_0222:
return;
}