#define RES_ID "MIKOConfig" typedef struct { char id[sizeof(RES_ID)]; unsigned char stage; char debug; int8_t padding_1; long score; int continues_used; char rem_bombs; char rem_lives; char rank; char start_power; char bgm_mode; char start_bombs; char start_lives; int8_t padding_2; long frame; int unused_1; char unused_2; unsigned char op_main_retval; bool perf; char unused_3; char shottype; char demo_num; int skill; int unused_4; long score_highest; } resident_t; extern resident_t *resident;