Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -0,0 +1,48 @@
|
|||
function shepherd_use() /* entry=260 class_id=0x0463 slot=0x01 */
|
||||
{
|
||||
set_info(0x0207, *(arg_06));
|
||||
process_exclude();
|
||||
/* pop_global global_id=0x6 size=0x1 */
|
||||
if (global[0x000F] == 4) {
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x0 target=[SP+00h] */
|
||||
return;
|
||||
}
|
||||
else if (global[0x000F] == 5) {
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x0 target=[SP+00h] */
|
||||
return;
|
||||
}
|
||||
else if (global[0x000F] == 6) {
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x0 target=[SP+00h] */
|
||||
return;
|
||||
}
|
||||
else if (global[0x000F] == 7) {
|
||||
if (!(global[0x0016])) {
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x0 target=[SP+00h] */
|
||||
}
|
||||
else {
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x0 target=[SP+00h] */
|
||||
}
|
||||
return;
|
||||
}
|
||||
else if (global[0x000F] == 8) {
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x0 target=[SP+00h] */
|
||||
return;
|
||||
}
|
||||
else if (global[0x000F] == 9) {
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x0 target=[SP+00h] */
|
||||
return;
|
||||
}
|
||||
else if (global[0x000F] == 10) {
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x0 target=[SP+00h] */
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
function shepherd_enterFastArea() /* entry=260 class_id=0x0463 slot=0x0F */
|
||||
{
|
||||
entry:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
|
||||
block_01EC:
|
||||
suspend;
|
||||
local_02 = 24;
|
||||
|
||||
block_01F1:
|
||||
if (local_02 <= 31) goto block_0224;
|
||||
|
||||
block_01F9:
|
||||
spawn FREE.slot_3B(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
local_02 = (1 + local_02);
|
||||
goto block_01F1;
|
||||
|
||||
block_0224:
|
||||
local_02 = 0;
|
||||
|
||||
block_0228:
|
||||
if (local_02 <= 6) goto block_025E;
|
||||
|
||||
block_0230:
|
||||
spawn FREE.slot_3B(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
local_02 = (1 + local_02);
|
||||
goto block_0228;
|
||||
|
||||
block_025E:
|
||||
spawn FREE.slot_3B(pid, 20, 0x00000000);
|
||||
suspend;
|
||||
goto block_01EC;
|
||||
|
||||
block_0278:
|
||||
return;
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue