Pseudocode and stuff

This commit is contained in:
MaddoScientisto 2026-03-25 23:32:13 +01:00
commit ee33f94b4b
466 changed files with 27770 additions and 276 deletions

View file

@ -0,0 +1,9 @@
function free_slot_20() /* entry=382 class_id=0x0A0C slot=0x20 */
{
entry:
goto block_01C0;
block_01C0:
return;
}

View file

@ -0,0 +1,19 @@
function free_slot_21() /* entry=382 class_id=0x0A0C slot=0x21 */
{
entry:
set_info(1, 0);
/* global_address global_id=0x3C */
block_01F0:
/* global_address global_id=0x3C */
if Item.touch(arg_06) goto block_022B;
block_0202:
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
goto block_01F0;
block_022B:
return;
}

View file

@ -0,0 +1,71 @@
function free_slot_22() /* entry=382 class_id=0x0A0C slot=0x22 */
{
entry:
set_info(0x022B, 0);
if global[0x0006] goto block_025E;
block_0258:
goto block_0579;
block_025E:
/* pop_global global_id=0x6 size=0x1 */
block_0267:
suspend;
spawn class_0A0C_slot_32(pid, 100, 0x00000000);
suspend;
spawn class_0A0C_slot_21(pid, 0x007F, 0x00000000);
suspend;
spawn class_0A0C_slot_21(pid, 57, 0x00000000);
suspend;
spawn class_0A0C_slot_21(pid, 60, 0x00000000);
suspend;
spawn class_0A0C_slot_32(pid, 0x1770, 0x00000000);
suspend;
spawn class_0A0C_slot_21(pid, 34, 0x00000000);
suspend;
spawn class_0A0C_slot_32(pid, 0x1770, 0x00000000);
suspend;
spawn class_0A0C_slot_21(pid, 33, 0x00000000);
suspend;
spawn class_0A0C_slot_32(pid, 0x1770, 0x00000000);
suspend;
spawn class_0A0C_slot_21(pid, 31, 0x00000000);
suspend;
spawn class_0A0C_slot_32(pid, 0x1770, 0x00000000);
suspend;
spawn class_0A0C_slot_21(pid, 26, 0x00000000);
suspend;
spawn class_0A0C_slot_32(pid, 0x0BB8, 0x00000000);
suspend;
spawn class_0A0C_slot_21(pid, 32, 0x00000000);
suspend;
spawn class_0A0C_slot_32(pid, 0x0708, 0x00000000);
suspend;
if (!global[0x0006]) goto block_04C6;
block_04C0:
goto block_0579;
block_04C6:
/* global_address global_id=0x3C */
if (!Kernel.resetRef()) goto block_0576;
block_04DA:
/* global_address global_id=0x3C */
/* pop_global global_id=0x6 size=0x1 */
spawn class_0A0C_slot_32(0, pid, 10, 0x00000000);
suspend;
/* str_to_ptr */
/* global_address global_id=0x3C */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
goto block_0579;
block_0576:
goto block_0267;
block_0579:
return;
}

View file

@ -0,0 +1,8 @@
function free_slot_23() /* entry=382 class_id=0x0A0C slot=0x23 */
{
entry:
set_info(1, global[0x003C]);
class_0A0C_slot_33(0x0224, 0);
return;
}

View file

@ -0,0 +1,43 @@
function free_slot_24() /* entry=382 class_id=0x0A0C slot=0x24 */
{
entry:
set_info(0x0224, 0);
if global[0x0006] goto block_05D3;
block_05CD:
goto block_06DF;
block_05D3:
/* pop_global global_id=0x6 size=0x1 */
block_05DC:
suspend;
spawn class_0A0C_slot_32(pid, arg_06, 0x00000000);
suspend;
if (!global[0x0006]) goto block_0620;
block_061A:
goto block_06DF;
block_0620:
arg_06 = (arg_06 - 1);
if (arg_06 != 0) goto block_06DC;
block_0640:
/* pop_global global_id=0x6 size=0x1 */
/* global_address global_id=0x3C */
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
/* str_to_ptr */
/* global_address global_id=0x3C */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
goto block_06DF;
block_06DC:
goto block_05DC;
block_06DF:
return;
}

View file

@ -0,0 +1,9 @@
function free_slot_25() /* entry=382 class_id=0x0A0C slot=0x25 */
{
entry:
set_info(0x0224, global[0x003C]);
/* pop_global global_id=0x6 size=0x1 */
class_0A0C_slot_33(0, 0x0224, 0);
return;
}

View file

@ -0,0 +1,48 @@
function free_slot_26() /* entry=382 class_id=0x0A0C slot=0x26 */
{
var
flick, /* [BP+06h] type=0x73 */
localFlick; /* [BP-02h] type=0x73 */
entry:
/* param_pid_chg bp_offset=0x6 target=[BP+06h] copy_type=0x1 */
set_info(1, global[0x003C]);
/* free_local_string bp_offset=0xFE target=[BP-02h] */
localFlick = flick;
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
suspend;
class_0A0C_slot_41();
block_078D:
/* global_address global_id=0x3C */
if Npc.isDead() goto block_07C6;
block_079D:
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
goto block_078D;
block_07C6:
/* global_address global_id=0x3C */
if (!Kernel.resetRef()) goto block_085A;
block_07DA:
/* global_address global_id=0x3C */
if Intrinsic0033() goto block_0810;
block_07EA:
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
goto block_07DA;
block_0810:
/* global_address global_id=0x3C */
suspend;
/* global_address global_id=0x3C */
suspend;
block_085A:
/* free_local_string bp_offset=0xFE target=[BP-02h] */
return;
}

View file

@ -0,0 +1,36 @@
function free_slot_27() /* entry=382 class_id=0x0A0C slot=0x27 */
{
entry:
local_02 = (arg_06 - arg_0B);
local_04 = (arg_08 - arg_0D);
local_06 = (arg_0A - arg_0F);
class_0A0C_slot_3F(local_02);
local_02 = retval;
class_0A0C_slot_3F(local_04);
local_04 = retval;
class_0A0C_slot_3F(local_06);
local_06 = retval;
if ((local_02 > local_04) && (local_02 > local_06)) goto block_08FC;
block_08F3:
goto block_093F;
block_08FC:
if ((local_04 > local_02) && (local_04 > local_06)) goto block_0919;
block_0910:
goto block_093F;
block_0919:
if ((local_06 > local_02) && (local_06 > local_04)) goto block_0936;
block_092D:
goto block_093F;
block_0936:
goto block_093F;
block_093F:
return;
}

View file

@ -0,0 +1,72 @@
function free_slot_28() /* entry=382 class_id=0x0A0C slot=0x28 */
{
var
r1, /* [BP+06h] type=0x69 */
r2, /* [BP+08h] type=0x69 */
item1, /* [BP-02h] type=0x24 */
item2, /* [BP-04h] type=0x24 */
avatarMap, /* [BP-06h] type=0x69 */
npc1, /* [BP-08h] type=0x24 */
npc2, /* [BP-0Ah] type=0x24 */
x, /* [BP-0Ch] type=0x69 */
y, /* [BP-0Eh] type=0x69 */
z; /* [BP-10h] type=0x69 */
entry:
item1 = r1;
item2 = r2;
/* global_address global_id=0x3C */
avatarMap = Item.getType();
if Item.isNpc(item1) goto block_09C7;
block_099F:
npc1 = item1;
if (Item.getType(npc1) != avatarMap) goto block_09C7;
block_09BE:
goto block_0AD3;
block_09C7:
if Item.isNpc(item2) goto block_09FE;
block_09D6:
npc2 = item2;
if (Item.getType(npc2) != avatarMap) goto block_09FE;
block_09F5:
goto block_0AD3;
block_09FE:
x = (Intrinsic0013(item1) - Intrinsic0013(item2));
y = (Item.legal_create(item1) - Item.legal_create(item2));
z = (Item.getZ(item1) - Item.getZ(item2));
class_0A0C_slot_3F(x);
x = retval;
class_0A0C_slot_3F(y);
y = retval;
class_0A0C_slot_3F(z);
z = retval;
if ((x > y) && (x > z)) goto block_0A90;
block_0A87:
goto block_0AD3;
block_0A90:
if ((y > x) && (y > z)) goto block_0AAD;
block_0AA4:
goto block_0AD3;
block_0AAD:
if ((z > x) && (z > y)) goto block_0ACA;
block_0AC1:
goto block_0AD3;
block_0ACA:
goto block_0AD3;
block_0AD3:
return;
}

View file

@ -0,0 +1,17 @@
function free_slot_29() /* entry=382 class_id=0x0A0C slot=0x29 */
{
var
ref1, /* [BP+06h] type=0x69 */
ref2, /* [BP+08h] type=0x69 */
dist; /* [BP-02h] type=0x69 */
entry:
class_0A0C_slot_28(ref2, ref1);
dist = retval;
dist = (dist / 32);
goto block_0B5F;
block_0B5F:
return;
}

View file

@ -0,0 +1,46 @@
function free_slot_2A() /* entry=382 class_id=0x0A0C slot=0x2A */
{
var
range, /* [BP+06h] type=0x69 */
t, /* [BP+08h] type=0x69 */
f, /* [BP+0Ah] type=0x69 */
item, /* [BP-02h] type=0x24 */
closestItem, /* [BP-04h] type=0x24 */
closest, /* [BP-06h] type=0x69 */
dist; /* [BP-08h] type=0x69 */
entry:
closest = 0x7D00;
closestItem = 0;
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x40 */
/* loopscr value_u8=0x25 */
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
block_0BBA:
if condition goto block_0C0B;
block_0BBD:
if (Item.getFrame(item) != f) goto block_0C07;
block_0BD5:
class_0A0C_slot_28(item, global[0x003C]);
dist = retval;
if (dist < closest) goto block_0C07;
block_0BF9:
closest = dist;
closestItem = item;
block_0C07:
/* loopnext */
goto block_0BBA;
block_0C0B:
goto block_0C16;
block_0C16:
return;
}

View file

@ -0,0 +1,15 @@
function free_slot_2B() /* entry=382 class_id=0x0A0C slot=0x2B */
{
entry:
if (arg_06 != 0x4000) goto block_0C8A;
block_0C7D:
goto block_0C93;
block_0C8A:
goto block_0C93;
block_0C93:
return;
}

View file

@ -0,0 +1,17 @@
function free_slot_2C() /* entry=382 class_id=0x0A0C slot=0x2C */
{
entry:
if (arg_06 != 0x4000) goto block_0CD9;
block_0CC6:
/* rsh */
arg_08 = 8;
goto block_0CE2;
block_0CD9:
goto block_0CE2;
block_0CE2:
return;
}

View file

@ -0,0 +1,38 @@
function free_slot_2D() /* entry=382 class_id=0x0A0C slot=0x2D */
{
var
r, /* [BP+06h] type=0x69 */
t, /* [BP+08h] type=0x69 */
f, /* [BP+0Ah] type=0x69 */
x, /* [BP+0Ch] type=0x69 */
y, /* [BP+0Eh] type=0x69 */
z, /* [BP+10h] type=0x69 */
ref, /* [BP-02h] type=0x24 */
item; /* [BP-04h] type=0x24 */
entry:
ref = r;
if (Item.hurl(t) != Intrinsic003C(ref)) goto block_0DBC;
block_0D29:
if Intrinsic0019(z, y, x, f, t, item) goto block_0DA5;
block_0D58:
goto block_0DC5;
block_0DA2:
goto block_0DB9;
block_0DA5:
goto block_0DC5;
block_0DB9:
goto block_0DC5;
block_0DBC:
goto block_0DC5;
block_0DC5:
return;
}

View file

@ -0,0 +1,29 @@
function free_slot_2E() /* entry=382 class_id=0x0A0C slot=0x2E */
{
var
ref, /* [BP+06h] type=0x69 */
phold, /* [BP-02h] type=0x24 */
item, /* [BP-04h] type=0x24 */
a, /* [BP-06h] type=0x69 */
b, /* [BP-08h] type=0x69 */
c; /* [BP-0Ah] type=0x69 */
entry:
set_info(1, 0);
phold = ref;
if (Intrinsic0016(phold) != 0x0476) goto block_0EF2;
block_0E30:
a = Intrinsic00AD(phold);
c = (a & 15);
b = Item.getMapNum(phold);
b = (((a & 0x00E0) * 8) + b);
if (b != 0) goto block_0EF2;
block_0E72:
goto block_0EF2;
block_0EF2:
return;
}

View file

@ -0,0 +1,30 @@
function free_slot_2F() /* entry=382 class_id=0x0A0C slot=0x2F */
{
var
ref, /* [BP+06h] type=0x69 */
addType, /* [BP+08h] type=0x69 */
phold, /* [BP-02h] type=0x24 */
item, /* [BP-04h] type=0x24 */
a, /* [BP-06h] type=0x69 */
b, /* [BP-08h] type=0x69 */
c; /* [BP-0Ah] type=0x69 */
entry:
set_info(1, 0);
phold = ref;
if (Intrinsic0016(phold) != 0x0476) goto block_1020;
block_0F55:
a = Intrinsic00AD(phold);
c = (a & 15);
b = Item.getMapNum(phold);
b = (((a & 0x00E0) * 8) + b);
if ((b != 0) && (b != addType)) goto block_1020;
block_0FA0:
goto block_1020;
block_1020:
return;
}

View file

@ -0,0 +1,25 @@
function free_slot_30() /* entry=382 class_id=0x0A0C slot=0x30 */
{
var
ref, /* [BP+06h] type=0x69 */
addType, /* [BP+08h] type=0x69 */
fram, /* [BP+0Ah] type=0x69 */
var, /* [BP+0Ch] type=0x69 */
phold, /* [BP-02h] type=0x24 */
item; /* [BP-04h] type=0x24 */
entry:
set_info(1, 0);
phold = ref;
if (Intrinsic0016(phold) != 0x0476) goto block_111A;
block_108F:
if (addType != 0) goto block_111A;
block_109A:
goto block_111A;
block_111A:
return;
}

View file

@ -0,0 +1,32 @@
function free_slot_31() /* entry=382 class_id=0x0A0C slot=0x31 */
{
var
ref, /* [BP+06h] type=0x69 */
item, /* [BP-02h] type=0x24 */
phold, /* [BP-04h] type=0x24 */
a, /* [BP-06h] type=0x69 */
b, /* [BP-08h] type=0x69 */
c; /* [BP-0Ah] type=0x69 */
entry:
set_info(1, 0);
item = ref;
if item goto block_12B3;
block_117D:
c = Item.getFrame(item);
b = Intrinsic0016(item);
a = (b & 0x00FF);
b = (b & 0x0700);
b = (b / 8);
b = (b + c);
suspend;
/* bit_not */
/* word_to_dword */
/* pop_result */
goto block_12B3;
block_12B3:
return;
}

View file

@ -0,0 +1,37 @@
function free_slot_32() /* entry=382 class_id=0x0A0C slot=0x32 */
{
var
time, /* [BP+06h] type=0x69 */
oldTick, /* [BP-04h] type=0x64 */
newTick; /* [BP-08h] type=0x64 */
entry:
set_info(9, 0);
newTick = Item.andStatus();
oldTick = Item.andStatus();
if (time < 1) goto block_1324;
block_131E:
goto block_1374;
block_1324:
suspend;
newTick = Item.andStatus();
/* ne_dword */
if oldTick goto block_1371;
block_134C:
oldTick = newTick;
time = (time - 1);
if (time < 1) goto block_1371;
block_136B:
goto block_1374;
block_1371:
goto block_1324;
block_1374:
return;
}

View file

@ -0,0 +1,6 @@
function free_slot_33() /* entry=382 class_id=0x0A0C slot=0x33 */
{
entry:
return;
}

View file

@ -0,0 +1,22 @@
function free_slot_34() /* entry=382 class_id=0x0A0C slot=0x34 */
{
entry:
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
if (Item.legal_create((Item.legal_create((Intrinsic0013((Intrinsic0013() >= (arg_06 - 0x0200))) <= (arg_06 + 0x0200))) >= (arg_08 - 0x0200))) <= (arg_08 + 0x0200)) goto block_1439;
block_142D:
goto block_1442;
block_1436:
goto block_1442;
block_1439:
goto block_1442;
block_1442:
return;
}

View file

@ -0,0 +1,25 @@
function free_slot_35() /* entry=382 class_id=0x0A0C slot=0x35 */
{
var
list, /* [BP+06h] type=0x7A */
member, /* [BP-02h] type=0x73 */
count; /* [BP-04h] type=0x69 */
entry:
count = 0;
block_1471:
foreach_slist member -> block_1486;
block_1476:
count = (1 + count);
goto block_1471;
block_1486:
goto block_148F;
block_148F:
/* free_local_string bp_offset=0xFE target=[BP-02h] */
return;
}

View file

@ -0,0 +1,23 @@
function free_slot_36() /* entry=382 class_id=0x0A0C slot=0x36 */
{
var
list, /* [BP+06h] type=0x7A */
line, /* [BP+08h] type=0x73 */
temp; /* [BP-02h] type=0x7A */
entry:
/* free_local_slist bp_offset=0xFE target=[BP-02h] */
temp = list;
/* create_list element_size=0x2 count=0x1 */
/* free_local_slist bp_offset=0x6 target=[BP+06h] */
list = line;
/* append_list */
/* free_local_slist bp_offset=0x6 target=[BP+06h] */
list = temp;
goto block_14ED;
block_14ED:
/* free_local_slist bp_offset=0xFE target=[BP-02h] */
return;
}

View file

@ -0,0 +1,17 @@
function free_slot_37() /* entry=382 class_id=0x0A0C slot=0x37 */
{
entry:
/* free_local_slist bp_offset=0xFE target=[BP-02h] */
local_02 = arg_06;
/* free_local_slist bp_offset=0x6 target=[BP+06h] */
arg_06 = arg_08;
/* append_list */
/* free_local_slist bp_offset=0x6 target=[BP+06h] */
arg_06 = local_02;
goto block_1545;
block_1545:
/* free_local_slist bp_offset=0xFE target=[BP-02h] */
return;
}

View file

@ -0,0 +1,17 @@
function free_slot_38() /* entry=382 class_id=0x0A0C slot=0x38 */
{
entry:
/* create_list element_size=0x2 count=0x1 */
/* remove_matching_indirect element_size=0x2 */
/* free_local_slist bp_offset=0x6 target=[BP+06h] */
arg_06 = arg_08;
/* create_list element_size=0x2 count=0x1 */
/* append_list */
/* free_local_slist bp_offset=0x6 target=[BP+06h] */
arg_06 = arg_08;
goto block_159F;
block_159F:
return;
}

View file

@ -0,0 +1,30 @@
function free_slot_39() /* entry=382 class_id=0x0A0C slot=0x39 */
{
var
list, /* [BP+06h] type=0x7A */
lines, /* [BP+08h] type=0x7A */
line; /* [BP-02h] type=0x73 */
entry:
block_15CD:
foreach_slist line -> block_15E8;
block_15D2:
/* create_list element_size=0x2 count=0x1 */
/* remove_matching_indirect element_size=0x2 */
/* free_local_slist bp_offset=0x6 target=[BP+06h] */
list = line;
goto block_15CD;
block_15E8:
/* append_list */
/* free_local_slist bp_offset=0x6 target=[BP+06h] */
list = lines;
goto block_15FD;
block_15FD:
/* free_local_string bp_offset=0xFE target=[BP-02h] */
return;
}

View file

@ -0,0 +1,24 @@
function free_slot_3A() /* entry=382 class_id=0x0A0C slot=0x3A */
{
var
list, /* [BP+06h] type=0x6C */
member, /* [BP-02h] type=0x69 */
count; /* [BP-04h] type=0x69 */
entry:
count = 0;
block_163F:
foreach_list member -> block_1654;
block_1644:
count = (1 + count);
goto block_163F;
block_1654:
goto block_165D;
block_165D:
return;
}

View file

@ -0,0 +1,49 @@
function free_slot_3B() /* entry=382 class_id=0x0A0C slot=0x3B */
{
var
counter, /* [BP-02h] type=0x69 */
alarm, /* [BP-04h] type=0x69 */
item, /* [BP-06h] type=0x24 */
n, /* [BP-08h] type=0x24 */
ref, /* [BP-0Ah] type=0x69 */
notAlarmed; /* [BP-0Bh] type=0x62 */
set_info(0x022B, 0);
ref = 1;
if (Intrinsic0000()) {
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
if (Item.getType((Item.getType((Item.getType((Item.getType((Item.getType((Item.getType() != 1)) != 5)) != 9)) != 13)) != 23)) == 27) {
alarm = 22;
}
else if (Item.getType((Item.getType((Item.getType() != 3)) != 15)) == 25) {
alarm = 0x0096;
}
else if (Item.getType((Item.getType((Item.getType((Item.getType() != 7)) != 11)) != 17)) == 24) {
alarm = 0x00A0;
}
else if (Item.getType((Item.getType((Item.getType() != 10)) != 19)) == 21) {
alarm = 0x0096;
}
else if (Item.getType() == 29) {
alarm = 0x00C4;
}
counter = 0;
}
return;
}

View file

@ -0,0 +1,79 @@
function free_slot_3C() /* entry=382 class_id=0x0A0C slot=0x3C */
{
var
item, /* [BP-02h] type=0x24 */
ref, /* [BP-04h] type=0x69 */
rndVoice; /* [BP-06h] type=0x69 */
entry:
set_info(1, 0);
class_0A0C_slot_33(0x022B, 0);
ref = 1;
if (Item.getNpcNum() != 1) goto block_1B14;
block_1B07:
goto block_1D0A;
block_1B14:
rndVoice = Intrinsic00DA(100, 0);
if (rndVoice < 30) goto block_1BA9;
block_1B32:
spawn class_0A0C_slot_21(pid, 15, 0x00000000);
suspend;
rndVoice = Intrinsic00DA(100, 0);
if (rndVoice < 50) goto block_1B9C;
block_1B76:
spawn class_0A0C_slot_21(pid, 14, 0x00000000);
suspend;
block_1B9C:
goto block_1D0A;
block_1BA9:
if (rndVoice > 60) goto block_1C63;
block_1BB7:
spawn class_0A0C_slot_21(pid, 14, 0x00000000);
suspend;
rndVoice = Intrinsic00DA(100, 0);
if (rndVoice < 30) goto block_1C21;
block_1BFB:
spawn class_0A0C_slot_21(pid, 15, 0x00000000);
suspend;
block_1C21:
if (rndVoice > 60) goto block_1C56;
block_1C2F:
spawn class_0A0C_slot_21(pid, 0x00B6, 0x00000000);
suspend;
block_1C56:
goto block_1D0A;
block_1C63:
spawn class_0A0C_slot_21(pid, 0x00D2, 0x00000000);
suspend;
rndVoice = Intrinsic00DA(100, 0);
if (rndVoice < 30) goto block_1CCE;
block_1CA8:
spawn class_0A0C_slot_21(pid, 14, 0x00000000);
suspend;
block_1CCE:
if (rndVoice > 60) goto block_1D03;
block_1CDC:
spawn class_0A0C_slot_21(pid, 0x00B6, 0x00000000);
suspend;
block_1D03:
block_1D0A:
return;
}

View file

@ -0,0 +1,8 @@
function free_slot_3D() /* entry=382 class_id=0x0A0C slot=0x3D */
{
entry:
set_info(1, 0);
/* global_address global_id=0x3C */
return;
}

View file

@ -0,0 +1,11 @@
function free_slot_3E() /* entry=382 class_id=0x0A0C slot=0x3E */
{
entry:
set_info(1, 0);
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
return;
}

View file

@ -0,0 +1,15 @@
function free_slot_3F() /* entry=382 class_id=0x0A0C slot=0x3F */
{
entry:
if (arg_06 > 0) goto block_1DE3;
block_1DDA:
goto block_1DEF;
block_1DE3:
goto block_1DEF;
block_1DEF:
return;
}

View file

@ -0,0 +1,33 @@
function free_slot_40() /* entry=382 class_id=0x0A0C slot=0x40 */
{
var
source, /* [BP+06h] type=0x69 */
item, /* [BP-02h] type=0x24 */
leftOvers; /* [BP-03h] type=0x62 */
entry:
/* loopscr value_u8=0x24 */
/* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
block_1E17:
if condition goto block_1E76;
block_1E1A:
if (!Item.getCY(1, item)) goto block_1E72;
block_1E2F:
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
block_1E72:
/* loopnext */
goto block_1E17;
block_1E76:
goto block_1E81;
block_1E81:
return;
}

View file

@ -0,0 +1,22 @@
function free_slot_41() /* entry=382 class_id=0x0A0C slot=0x41 */
{
var
item; /* [BP-02h] type=0x24 */
entry:
set_info(1, 0);
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x42 */
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
block_1EDF:
if condition goto block_1EF1;
block_1EE2:
/* loopnext */
goto block_1EDF;
block_1EF1:
return;
}