Pseudocode decompialtion improvements and docs

This commit is contained in:
MaddoScientisto 2026-03-26 22:10:48 +01:00
commit 589bfc31ef
1898 changed files with 60634 additions and 6597 deletions

View file

@ -10,14 +10,10 @@ function rfanew_gotHit() /* entry=9 class_id=0x005E slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
class_0A0C_slot_2B(vel, ref);
FREE.slot_2B(vel, ref);
if (!retval) {
fart2 = Item.getQLo(arg_06);
/* 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 */
/* loop_selector item in nearby_items(shape=PLACEHOLDER_CUBE_BIG, origin=arg_06) */
while (!condition) {
fart = Item.getQLo(item);
/* loopnext */

View file

@ -15,11 +15,11 @@ function rfanew_equip() /* entry=9 class_id=0x005E slot=0x0A */
return;
}
else if (var == 0) {
class_0A1E_slot_23(0x1000, arg_06);
ITEM.slot_23(0x1000, arg_06);
fram = Item.getFrame(arg_06);
fram = (1 + fram);
counter2 = 1;
spawn class_0A0C_slot_32(pid, counter2, 0x00000000);
spawn FREE.waitNTimerTicks(pid, counter2, 0x00000000);
suspend;
counter = 1;
while (counter > 15) {
@ -28,17 +28,12 @@ function rfanew_equip() /* entry=9 class_id=0x005E slot=0x0A */
fram = 1;
}
counter2 = (counter2 + 1);
spawn class_0A0C_slot_32(pid, counter2, 0x00000000);
spawn FREE.waitNTimerTicks(pid, counter2, 0x00000000);
suspend;
if (counter2 == 4) {
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x40 */
/* loopscr value_u8=0x25 */
/* loop current_var=0xF6 string_bytes=0x6 loop_type=0x2 */
while (!condition) {
for wind in nearby_items(shape=PLACEHOLDER_CUBE_BIG, origin=arg_06) {
if (Item.getQLo(wind) == Item.getQLo(arg_06)) {
spawn class_0A0C_slot_31(pid, wind, 0x00000000);
spawn FREE.slot_31(pid, wind, 0x00000000);
suspend;
}
/* loopnext */
@ -46,7 +41,7 @@ function rfanew_equip() /* entry=9 class_id=0x005E slot=0x0A */
}
counter = (1 + counter);
}
class_0A1E_slot_24(0x1000, arg_06);
ITEM.slot_24(0x1000, arg_06);
}
return;
}