#include #include struct text_str { u16 string[while(std::mem::read_unsigned($, 2) != 0x1103)]; u32 closeCode [[color("FFFFFF")]]; }; struct command { u32 cmdID [[color("2222EE")]]; u32 *paramsOffset : u32 ; if (cmdID == 0x13) { text_str text @ paramsOffset + textOffset [[color("3333FF"), name("TEXT_ARR")]]; } }; struct routine { char routineName[64] [[color("006600")]]; u32 cmdAddr [[color("FFaa")]]; u32 a = cmdOffset + (cmdAddr * 8); std::print(a); command *cmdLink : u32 @ a; u32 huyznaet [[color("00")]]; }; u32 hz1 @ 0x00; u32 routineOffset @ 0x04; u32 routineCount @ 0x08; u32 cmdOffset @ 0x0C; u32 paramsOffset @ 0x10; u32 textOffset @ 0x14; routine subRoutines[routineCount] @ routineOffset ; command commands [(paramsOffset-cmdOffset) / 8] @ cmdOffset;