68 lines
1.9 KiB
Text
68 lines
1.9 KiB
Text
|
|
/* synthesized appendix for CONTAIN */
|
|
/* sparse lines above preserve recovered debugger line numbers where available */
|
|
|
|
/* ===== slot 0x20 slot_20 ===== */
|
|
function contain_slot_20() /* entry=449 class_id=0x0A03 slot=0x20 */
|
|
{
|
|
set_info(0x0001, *(arg_06));
|
|
FREE.slot_35(arg_0C, arg_0A);
|
|
ITEM.slot_26((retval < 1), 0x1000, arg_06);
|
|
if (retval == 1) {
|
|
return;
|
|
}
|
|
else {
|
|
spawn ITEM.slot_29(pid, 0x0096, arg_0C, arg_0A, arg_06);
|
|
suspend;
|
|
/* dword_to_word */
|
|
if (process_result) {
|
|
FREE.slot_20(1);
|
|
if (!retval) {
|
|
}
|
|
return;
|
|
}
|
|
else {
|
|
local_04 = *(arg_06);
|
|
local_06 = Item.getQLo(arg_06);
|
|
if (!(global[0x0007])) {
|
|
return;
|
|
}
|
|
else {
|
|
/* pop_global global_id=0x7 size=0x1 */
|
|
/* loopscr value_u8=0x24 */
|
|
/* loopscr value_u8=0x44 */
|
|
/* loop current_var=0xFE string_bytes=0xA loop_type=0x2 */
|
|
while (!condition) {
|
|
if (local_06 == Item.getQLo(local_02)) {
|
|
if (Item.getShape(local_02) == 52) {
|
|
if (Item.getFrame(arg_06) == 0) {
|
|
suspend;
|
|
}
|
|
}
|
|
else if (Item.getShape(local_02) == 0x034B) {
|
|
spawn ITEM.slot_2A(pid, 1, 0, local_02);
|
|
suspend;
|
|
}
|
|
else if (Item.getShape(local_02) == 11) {
|
|
ITEM.slot_24(0x1000, local_02);
|
|
if (Item.getFrame(local_02)) {
|
|
spawn ITEM.slot_2A(pid, 0, 1, local_02);
|
|
suspend;
|
|
}
|
|
}
|
|
else if (Item.getShape(local_02) == 0x0127) {
|
|
ITEM.slot_24(0x1000, local_02);
|
|
if (Item.getFrame(local_02)) {
|
|
spawn ITEM.slot_2A(pid, 0, 1, local_02);
|
|
suspend;
|
|
}
|
|
}
|
|
}
|
|
/* loopnext */
|
|
}
|
|
/* pop_global global_id=0x7 size=0x1 */
|
|
}
|
|
}
|
|
}
|
|
return;
|
|
}
|