This commit is contained in:
MaddoScientisto 2026-03-25 23:32:36 +01:00
commit f92d1504fa
547 changed files with 37597 additions and 0 deletions

View file

@ -0,0 +1,105 @@
function vardesk_use() /* entry=238 class_id=0x0442 slot=0x01 */
{
var
referent, /* [BP+00h] type=0x69 */
item, /* [BP-02h] type=0x24 */
counter; /* [BP-04h] type=0x69 */
entry:
set_info(0x0207, *(arg_06));
process_exclude();
class_0A0C_slot_33(0x021B, *(arg_06));
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
block_0125:
if (Item.getFrame(arg_06) < 4) goto block_017A;
block_013A:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
goto block_0125;
block_017A:
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
suspend;
if (global[0x001F] != 9) goto block_01DA;
block_01AA:
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
goto block_02F4;
block_01DA:
if (global[0x001F] != 10) goto block_0215;
block_01E4:
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
goto block_02F4;
block_0215:
if (global[0x001F] != 11) goto block_0250;
block_021F:
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
goto block_02F4;
block_0250:
if (global[0x001F] != 12) goto block_028B;
block_025A:
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
goto block_02F4;
block_028B:
if (global[0x001F] != 13) goto block_02C6;
block_0295:
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
goto block_02F4;
block_02C6:
/* str_to_ptr */
/* free_stack_string value_u8=0x4 target=[SP+04h] */
suspend;
block_02F4:
/* 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_0312:
if condition goto block_0335;
block_0315:
/* loopnext */
goto block_0312;
block_0335:
counter = 0;
block_033E:
if (counter <= 4) goto block_0389;
block_0346:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_033E;
block_0389:
spawn class_0442_enterFastArea(arg_06);
return;
}

View file

@ -0,0 +1,76 @@
function vardesk_enterFastArea() /* entry=238 class_id=0x0442 slot=0x0F */
{
var
referent, /* [BP+00h] type=0x69 */
counter, /* [BP-02h] type=0x69 */
ran; /* [BP-04h] type=0x69 */
entry:
set_info(0x021B, *(arg_06));
process_exclude();
if (Item.getFrame(arg_06) != 6) goto block_03FC;
block_03F6:
goto block_05A1;
block_03FC:
suspend;
class_0A0C_slot_20(pid, 100);
spawn class_0A0C_slot_32((retval + 60), 0x00000000);
suspend;
if (!Item.getFrame(arg_06)) goto block_049C;
block_044D:
counter = 0;
block_0454:
if (counter <= 4) goto block_049C;
block_045C:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0454;
block_049C:
class_0A0C_slot_20(100);
if (retval > 50) goto block_0507;
block_04B2:
counter = 0;
block_04B9:
if (counter <= 4) goto block_0504;
block_04C1:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_04B9;
block_0504:
goto block_059E;
block_0507:
class_0A0C_slot_20(3);
ran = (retval + 3);
counter = 0;
block_0520:
if (counter <= ran) goto block_059E;
block_052B:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0520;
block_059E:
goto block_03FC;
block_05A1:
return;
}

View file

@ -0,0 +1,9 @@
function vardesk_leaveFastArea() /* entry=238 class_id=0x0442 slot=0x10 */
{
entry:
set_info(0x021C, *(arg_06));
process_exclude();
class_0A0C_slot_33(0x021B, *(arg_06));
return;
}