Usecode pseudocode
This commit is contained in:
parent
f92d1504fa
commit
c12bb39437
1362 changed files with 71072 additions and 38056 deletions
|
|
@ -5,72 +5,43 @@ function cor_boot_equip() /* entry=189 class_id=0x0360 slot=0x0A */
|
|||
event, /* [BP+0Ah] type=0x69 */
|
||||
counter; /* [BP-02h] type=0x69 */
|
||||
|
||||
entry:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (Item.getFrame(arg_06) != 10) goto block_0106;
|
||||
|
||||
block_0100:
|
||||
goto block_02D2;
|
||||
|
||||
block_0106:
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
if (Item.getFrame(arg_06) == 10) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
|
||||
block_0140:
|
||||
if (Item.getFrame(arg_06) != 9) goto block_0192;
|
||||
|
||||
block_0152:
|
||||
while (Item.getFrame(arg_06) == 9) {
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
goto block_0140;
|
||||
|
||||
block_0192:
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
if (global[0x001F] != 2) goto block_01F2;
|
||||
|
||||
block_01C2:
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
goto block_0267;
|
||||
|
||||
block_01F2:
|
||||
if (global[0x001F] != 8) goto block_022C;
|
||||
|
||||
block_01FC:
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
goto block_0267;
|
||||
|
||||
block_022C:
|
||||
if (global[0x001F] != 12) goto block_0267;
|
||||
|
||||
block_0236:
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
goto block_0267;
|
||||
|
||||
block_0267:
|
||||
if (global[0x001F] == 2) {
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
}
|
||||
else if (global[0x001F] == 8) {
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
}
|
||||
else if (global[0x001F] == 12) {
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
}
|
||||
counter = 0;
|
||||
|
||||
block_026E:
|
||||
if (counter <= 9) goto block_02B9;
|
||||
|
||||
block_0276:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
goto block_026E;
|
||||
|
||||
block_02B9:
|
||||
while (counter > 9) {
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
}
|
||||
spawn class_0360_enterFastArea(arg_06);
|
||||
|
||||
block_02D2:
|
||||
return;
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ function cor_boot_enterFastArea() /* entry=189 class_id=0x0360 slot=0x0F */
|
|||
if condition goto block_037C;
|
||||
|
||||
block_034D:
|
||||
if (Item.pop(item) != Item.pop(arg_06)) goto block_0378;
|
||||
if (Item.getQLo(item) != Item.getQLo(arg_06)) goto block_0378;
|
||||
|
||||
block_0369:
|
||||
class_0A1E_slot_24(0x1000, item);
|
||||
|
|
@ -44,7 +44,7 @@ function cor_boot_enterFastArea() /* entry=189 class_id=0x0360 slot=0x0F */
|
|||
if condition goto block_03DE;
|
||||
|
||||
block_03AF:
|
||||
if (Item.pop(item) != Item.pop(arg_06)) goto block_03DA;
|
||||
if (Item.getQLo(item) != Item.getQLo(arg_06)) goto block_03DA;
|
||||
|
||||
block_03CB:
|
||||
class_0A1E_slot_23(0x1000, item);
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
function cor_boot_leaveFastArea() /* entry=189 class_id=0x0360 slot=0x10 */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
return;
|
||||
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue