Usecode pseudocode

This commit is contained in:
MaddoScientisto 2026-03-26 00:37:17 +01:00
commit c12bb39437
1362 changed files with 71072 additions and 38056 deletions

View file

@ -0,0 +1,15 @@
function mbarrel_hit() /* entry=120 class_id=0x01DD slot=0x05 */
{
set_info(0x020B, *(arg_06));
process_exclude();
local_02 = arg_0C;
if (arg_0C < 10) {
class_0A1D_slot_20(3);
local_08 = retval;
class_0A1D_slot_20(3);
local_0A = retval;
spawn class_0A0C_slot_2C(pid, arg_06);
suspend;
}
return;
}

View file

@ -0,0 +1,30 @@
function mbarrel_gotHit() /* entry=120 class_id=0x01DD slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
class_0A1D_slot_35(arg_0C, arg_0A);
if (retval) {
return;
}
else {
spawn class_0A0C_slot_29(pid, 100, arg_0C, arg_0A, arg_06);
suspend;
/* dword_to_word */
if (process_result) {
class_0A1D_slot_20(1);
if (!retval) {
}
return;
}
else if (Item.getFrame(arg_06) == 0) {
local_09 = Item.getZ(arg_06);
local_06 = Item.getX(arg_06);
local_08 = Item.getY(arg_06);
local_0B = Item.getQLo(arg_06);
spawn class_0A0C_slot_2C(pid, arg_06);
suspend;
class_0A1D_slot_20(3);
}
}
return;
}