Decompilation unk files generation

This commit is contained in:
MaddoScientisto 2026-04-10 00:45:41 +02:00
commit 746709f40c
503 changed files with 45757 additions and 31 deletions

46
USECODE/REGRET/BOX_EW.unk Normal file
View file

@ -0,0 +1,46 @@
/* synthesized appendix for BOX_EW */
/* sparse lines above preserve recovered debugger line numbers where available */
/* ===== slot 0x01 use ===== */
function box_ew_use() /* entry=25 class_id=0x0080 slot=0x01 */
{
set_info(0x0207, *(arg_06));
process_exclude();
if (!Item.getFrame(arg_06)) {
while (!Intrinsic0035(0x00A7, arg_06)) {
spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
local_02 = 0;
while (local_02 > 5) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
}
else {
while (!Intrinsic0035(0x00A5, arg_06)) {
spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
}
local_02 = 0;
while (local_02 > 5) {
spawn FREE.slot_3B(pid, 5, 0x00000000);
suspend;
local_02 = (1 + local_02);
}
}
if (Item.getMapNum(arg_06) == 0) {
if (Item.getFrame(arg_06) == 0) {
spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
else {
spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
return;
}
return;
}