Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -15,49 +15,39 @@ function monitew_use() /* entry=68 class_id=0x0165 slot=0x01 */
|
|||
else {
|
||||
link = Item.getQLo(arg_06);
|
||||
if (Item.getMapArray(arg_06) == 0) {
|
||||
/* 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 */
|
||||
while (!condition) {
|
||||
for valueBox in nearby_items(shape=PLACEHOLDER_KEY_CUBE, origin=arg_06) {
|
||||
if ((Item.getQLo(valueBox) == link) || (link != 0)) {
|
||||
class_0A19_slot_20(valueBox);
|
||||
VALBOX.slot_20(valueBox);
|
||||
passcode = retval;
|
||||
class_0A17_slot_23(passcode, Item.getQHi(valueBox), Item.getQLo(valueBox), arg_06);
|
||||
TEXTFILE.slot_23(passcode, Item.getQHi(valueBox), Item.getQLo(valueBox), arg_06);
|
||||
/* free_local_string bp_offset=0xFE target=[BP-02h] */
|
||||
textFile = retval;
|
||||
spawn class_0A17_slot_20(pid, textFile, arg_06);
|
||||
spawn TEXTFILE.slot_20(pid, textFile, arg_06);
|
||||
/* free_stack_string value_u8=0x0 target=[SP+00h] */
|
||||
suspend;
|
||||
}
|
||||
/* loopnext */
|
||||
}
|
||||
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
|
||||
spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
|
||||
suspend;
|
||||
}
|
||||
else {
|
||||
/* 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 */
|
||||
while (!condition) {
|
||||
for valueBox in nearby_items(shape=PLACEHOLDER_KEY_CUBE, origin=arg_06) {
|
||||
if (Item.getQLo(valueBox) == link) {
|
||||
class_0A19_slot_20(valueBox);
|
||||
VALBOX.slot_20(valueBox);
|
||||
passcode = retval;
|
||||
boxCounter = (1 + boxCounter);
|
||||
}
|
||||
/* loopnext */
|
||||
}
|
||||
class_0A17_slot_23(passcode, Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
|
||||
TEXTFILE.slot_23(passcode, Item.getQHi(arg_06), Item.getQLo(arg_06), arg_06);
|
||||
/* free_local_string bp_offset=0xFE target=[BP-02h] */
|
||||
textFile = retval;
|
||||
if (boxCounter <= 1) {
|
||||
/* free_local_string bp_offset=0xFE target=[BP-02h] */
|
||||
textFile = "There is more than one Value box in range with the same link";
|
||||
}
|
||||
spawn class_0A17_slot_20(pid, textFile, arg_06);
|
||||
spawn TEXTFILE.slot_20(pid, textFile, arg_06);
|
||||
/* free_stack_string value_u8=0x0 target=[SP+00h] */
|
||||
suspend;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue