#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")]]; command *cmdLink : u32 @ cmdOffset + (cmdAddr * 8); u32 huyznaet [[color("00")]]; }; u32 hz1 @ 0x00; u32 hz2 @ 0x04; u32 routineCount @ 0x08; u32 cmdOffset @ 0x0C; u32 paramsOffset @ 0x10; u32 textOffset @ 0x14; routine subRoutines[routineCount] @ 0x18 ; command commands [(paramsOffset-cmdOffset) / 8] @ cmdOffset;