13typedef struct __attribute__((packed))
17 char mod_description[128];
23typedef struct __attribute__((packed))
30typedef enum : uint16_t
122typedef enum : uint16_t
140typedef struct __attribute__((packed))
146typedef struct __attribute__((packed))
152typedef struct __attribute__((packed))
158typedef struct __attribute__((packed))
165typedef struct __attribute__((packed))
173typedef struct __attribute__((packed))
181typedef struct __attribute__((packed))
188typedef struct __attribute__((packed))
199typedef struct __attribute__((packed))
207typedef struct __attribute__((packed))
216typedef struct __attribute__((packed))
226typedef struct __attribute__((packed))
234 uint8_t SGtFigureAction[0xc];
243typedef struct __attribute__((packed))
281 uint16_t equipment[16];
283 uint32_t unknown2[3];
284 uint8_t unknown3[168];
285 uint32_t unknown4[7];
289 uint8_t unknown7[13];
297 uint32_t unknown10[3];
314 uint32_t unknown15[3];
322typedef struct __attribute__((packed))
331typedef struct __attribute__((packed))
343typedef struct __attribute__((packed))
357typedef struct __attribute__((packed))
365typedef struct __attribute__((packed))
373typedef struct __attribute__((packed))
380typedef struct __attribute__((packed))
387typedef struct __attribute__((packed))
428 uint8_t padding[572];
480 uint16_t heightmap[1048576];
482 uint8_t unknown4[131070];
486 uint8_t unknown7[63];
506 uint32_t data[10000];
579typedef struct __attribute__((packed))
615typedef struct __attribute__((packed))
617 uint8_t font_data[0x1fa0];
620typedef struct __attribute__((packed))
623 uint8_t unkn_data[0x8];
626typedef struct __attribute__((packed))
633typedef struct __attribute__((packed))
644typedef struct __attribute__((packed))
650typedef struct __attribute__((packed))
653 uint8_t unknown_data2[0xcc];
656typedef struct __attribute__((packed))
660 uint8_t CMnuVisControl_data[0x9C];
661 uint8_t CMnuLabel_data[0xc0];
665typedef struct __attribute__((packed))
675typedef struct __attribute__((packed))
682typedef struct __attribute__((packed))
684 uint8_t padding_start[0x13];
686 uint8_t padding_end[0x119];
689typedef struct __attribute__((packed))
693 uint8_t CMnuVisControl_data[0x9c];
695 uint8_t CMnuSmpButton_data[0x50];
698typedef struct __attribute__((packed))
702 uint8_t CMnuVisControl_data[0x9C];
703 uint8_t CMnuContainer_data[0x98];
706typedef struct __attribute__((packed))
717 uint8_t unknown[0x44];
721typedef struct __attribute__((packed))
725 uint8_t CMnuVisControl_data[0x9C];
726 uint8_t CMnuContainer_data[0x98];
730typedef struct __attribute__((packed))
734 uint8_t unknown_data[12];
741typedef struct __attribute__((packed))
744 uint32_t AutoClass72[5];
745 uint32_t CGdEventIterator[5];
748 uint8_t padding[0x19a];
751typedef struct __attribute__((packed))
754 uint32_t CGdControllerBaseData[0x220];
759typedef struct __attribute__((packed))
763 uint8_t unkn2[0x7028];
773 uint8_t unkn5[0x2A4];
785 uint8_t unkn7[0x1152];
790typedef struct __attribute__((packed))
794 uint8_t CMnuVisControl_data[0x9C];
795 uint8_t CMnuContainer_data[0x98];
800typedef struct __attribute__((packed))
810typedef struct __attribute__((packed))
814 uint8_t CMnuVisControl_data[0x9C];
815 uint8_t CMnuContainer_data[0x98];
819typedef struct __attribute__((packed))
823 uint8_t CMnuVisControl_data[0x9C];
824 uint8_t CMnuContainer_data[0x98];
825 uint8_t videoData[0xc];
828typedef struct __attribute__((packed))
833 uint8_t more_data[0x658];
836typedef struct __attribute__((packed))
928 void *CGdFigureToolbox, uint16_t figure_index);
930 void *ac69_3,
void *ac69_4);
943 float ypos,
float width,
947 uint16_t description_id,
964 uint32_t color_green,
977 void *_this_autoclass113);
981 void *_this_autoclass113, uint32_t p1);
999 uint8_t p3, uint8_t p4);
1004 uint8_t po2, uint16_t unkn_p3,
1006 uint32_t p5, uint32_t p6);
1008 uint16_t spell_line_id);
1012 uint16_t param2, uint8_t param3,
1020 uint8_t param4, uint32_t param5,
1034 char *video_loc_and_name_charsC);
1048 uint16_t x_pos, uint16_t y_pos,
1049 uint16_t width, uint16_t height);
1051 char *button_mesh_default,
1052 char *button_mesh_pressed,
1053 char *button_mesh_highlight,
1054 char *button_mesh_disabled,
1055 char *label_char, uint8_t font_index,
1056 uint16_t x_pos, uint16_t y_pos,
1057 uint16_t width, uint16_t height,
1059 uint32_t callback_function_pointer);
1062 int32_t *cui_menu_ptr_maybe);
1076 #define DECLARE_FUNCTION(type, name, ...) \
1077 typedef type (__thiscall *name ## _ptr)(__VA_ARGS__);
CMnuLabel *__thiscall attach_new_label(CMnuLabel *label_ptr, CMnuContainer *parent, char *label_text, uint8_t font_index, uint16_t x_pos, uint16_t y_pos, uint16_t width, uint16_t height)
void __thiscall attach_new_button(CMnuContainer *parent, char *button_mesh_default, char *button_mesh_pressed, char *button_mesh_highlight, char *button_mesh_disabled, char *label_char, uint8_t font_index, uint16_t x_pos, uint16_t y_pos, uint16_t width, uint16_t height, int button_index, uint32_t callback_function_pointer)
void attachVideo(CAppMenu *CAppMenu_ptr, CMnuContainer *parent, char *video_loc_and_name_charsC)
void __fastcall show_mod_list_callback(CMnuSmpButton *button, int32_t *cui_menu_ptr_maybe)
CMnuLabel *__thiscall attach_new_meshed_label(CMnuLabel *label_ptr, CMnuContainer *parent, char *mesh_name, char *label_text, uint8_t font_index, uint16_t x_pos, uint16_t y_pos, uint16_t width, uint16_t height)
void(__thiscall * CMnuScreen_attach_control_ptr)(void *_CMnuScreen_ptr, CMnuBase *base, char flag)
void(__thiscall * autoclass113_fun_00a27530_ptr)(void *_this_autoclass113)
void(__thiscall * construct_start_menu_ptr)(CUiStartMenu *_this, uint32_t p1)
void(__thiscall * fun_00910de0_ptr)(void *_this, void *param1, uint32_t param2)
void(__thiscall * fun_009a4020_ptr)(void *_this, uint32_t param1)
void(__thiscall * fun_009a1fd0_ptr)(void *SF_CUiGame, uint32_t param1)
void(__thiscall * menu_label_constructor_ptr)(CMnuLabel *_this)
uint32_t(__thiscall * fun_0069f8d0_ptr)(void *_this, uint32_t p1)
void(__thiscall * menu_label_set_string_ptr)(CMnuLabel *_this, SF_String *string)
void(__fastcall * original_menu_func_ptr)(uint32_t param1)
void(__thiscall * mnu_label_init_data_ptr)(void *_this, float xpos, float ypos, float width, float height, SF_String *string)
void(__thiscall * fun_00a49b10_ptr)(CGdControllerClient *_this, uint8_t param1)
void(__thiscall * get_sf_color_ptr)(SF_String *_this, uint32_t color_id)
uint32_t(__thiscall * fun_0069fb90_ptr)(void *_this, uint16_t figure_id, uint8_t po2, uint16_t unkn_p3, SF_CGdTargetData *data, uint32_t p5, uint32_t p6)
SF_FontStruct *(__thiscall * get_smth_fonts_ptr)(void)
@ SPELL_STAT_MUL_MODIFIER2
@ SPELL_STAT_MUL_MODIFIER4
@ SPELL_STAT_MUL_MODIFIER3
@ SPELL_PESTILENCE_DAMAGE
@ SPELL_STAT_MUL_MODIFIER
@ EFFECT_DO_NOT_ADD_SUBSPELL
@ SPELL_CONSERVATION_SHIELD
SF_String *(__thiscall * construct_default_sf_string_ptr)(SF_String *_this)
@ kGdEffectSpellAssistanceHitFigure
@ kGdEffectSummonMainChar
@ kGdEffectSpellVoodooHitFigure
@ kGdEffectMonumentClaimed
@ kGdEffectSpellDOTHitTarget
@ kGdEffectMentalTowerCast
@ kGdEffectMonumentBullet
@ kGdEffectSpellHitTarget
@ kGdEffectMonumentWorking
@ kGdEffectSpellMissTarget
@ kGdEffectSpellManaShieldHitFigure
@ kGdEffectSpellTargetResisted
@ kGdEffectMainCharAppears
@ kGdEffectMonumentHitFigure
@ kGdEffectTitanProduction
@ kGdEffectMentalTowerIdle
@ kGdEffectSpellResolveSelf
void *(__thiscall * vfun41_ptr)(void *CMnuContainer)
void(__thiscall * vfun164_ptr)(void *CMnuContainer)
void(__thiscall * fun_009cd1f0_ptr)(void *SF_CUiBottom, uint8_t param1)
uint16_t(__thiscall * get_spell_spell_line_ptr)(void *, uint16_t)
@ WAY_POINTS_READ_REVERSE
@ START_WORK_AT_BUILDING_FORCE_JOB
void(__thiscall * autoclass113_fun_00a278c0_ptr)(void *_this_autoclass113, uint32_t p1)
SF_Font *(__thiscall * get_font_ptr)(SF_FontStruct *_this, uint32_t font_id)
void(__thiscall * figure_toolbox_add_spell_ptr)(void *, uint16_t, uint16_t)
void(__thiscall * menu_label_set_font_ptr)(void *_this, SF_Font *font)
void(__thiscall * console_print_ptr)(uint32_t, const char *)
void(__thiscall * vfun163_ptr)(void *CMnuContainer, uint8_t param1)
void(* fidfree_ptr)(uint32_t *memory_ptr)
void(__thiscall * menu_label_ptr)(CMnuLabel *_this)
uint32_t(__thiscall * figure_toolbox_get_unkn_ptr)(void *, uint16_t)
void(__thiscall * fun_0099f610_ptr)(void *_this, uint16_t param1, uint16_t param2, uint8_t param3, uint16_t param4)
uint32_t(__thiscall * fun_006a0140_ptr)(void *_this, uint16_t p1, SF_CGdTargetData *p2_ptr, uint8_t p3, uint8_t p4)
void(__thiscall * message_box_ptr)(uint32_t CAppMenu, uint16_t description_id, SF_String *string_ptr, uint16_t hasOffset)
bool(__thiscall * getSpellLineIsTargetSelf_ptr)(void *_this, uint16_t spell_line_id)
uint32_t *(__thiscall * fun_00a28d60_ptr)(void *_this, void *param1, uint32_t param2)
bool(__thiscall * figure_toolbox_is_targetable_ptr)(void *CGdFigureToolbox, uint16_t figure_index)
void *(__cdecl * new_operator_ptr)(uint32_t param_1)
uint32_t *(__thiscall * fun_0086dd60_ptr)(void *_this, uint8_t p1, uint32_t p2)
uint16_t(__cdecl * fun_00a2a1d0_ptr)(void *some_ptr, void *some_ptr_2)
void(__thiscall * menu_label_set_data_ptr)(CMnuLabel *_this, uint32_t color_red, uint32_t color_green, uint32_t color_blue, uint8_t unknchar)
void(__thiscall * initialize_menu_container_ptr)(CMnuContainer *_this)
@ F_CHECK_SPELLS_BEFORE_JOB
@ F_CHECK_SPELLS_BEFORE_CHECK_BATTLE
void(__thiscall * set_label_flags_ptr)(CMnuLabel *_this, uint32_t flags)
void(* log_function_ptr)(const char *)
uint32_t(__thiscall * fun_006f8c06_ptr)(SF_CGdFigureToolbox *_this, uint16_t figure_id, uint16_t spell_id, uint32_t target_id, uint8_t param4, uint32_t param5, uint32_t param6, uint32_t param7, uint32_t param8)
CUiOption *(__thiscall * create_option_ptr)(CUiOption *_this)
uint32_t(__thiscall * FUN_0069eaf0_ptr)(void *ac69, void *ac69_2, void *ac69_3, void *ac69_4)
void *(__thiscall * fun_009de190_ptr)(void *_this, void *param_1)
uint32_t(__thiscall * cuiVideoSequence_constructor_ptr)(SF_CUiVideo *_this, SF_String *p1)
void *(__thiscall * fun_009a0750_ptr)(void *_this)
void(__thiscall * container_add_control_ptr)(CMnuContainer *_this, CMnuBase *CMnubase, char c1, char c2, uint32_t p4)
void(__thiscall * fun_009a2790_ptr)(void *_this, void *_p1, uint32_t p2)
uint32_t unknown_field_14
CGdControllerClientData data
uint32_t param_1_callback
uint32_t param_2_callback
uint32_t param_3_callback
CMnuBase_data CMnuBase_data
CMnuBase_data CMnuBase_data
SF_CGdFigureToolbox * CGdFigureToolBox
uint32_t unknown_action_type
CGdControllerClient * CGdControllerClient
uint16_t life_current_max
SF_CGdWorld * SF_CGdWorld
SF_CGdFigure * SF_CGdFigure
AutoClass14 * OpaqueClass
SF_CGdBuilding * CGdBuilding
SF_CGdWorldToolBox * SF_CGdWorldToolBox
SF_CGdFigureToolbox * SF_CGdFigureToolBox
void * SF_CGdBuildingToolbox
void * SF_CGdDoubleLinkedList
AutoClass14 * autoClass14
void * SF_CGdDoubleLinkedList
void * SF_CGdObjectToolBox
SF_CGDEffect * SF_CGdEffect
SF_CGdFigure * SF_CGdFigure
SF_CGdWorldToolBox * SF_CGdWorldToolBox
SF_CGdWorld * SF_CGdWorld
AutoClass14 * OpaqueClass
SF_CGdFigureToolbox * SF_CGdFigureToolBox
SF_CGdBuilding * CGdBuilding
void * SF_CGdBuildingToolbox
CMnuBase_data CMnuBaseData
uint32_t CUiMain_cftable_ptr
CUiMain_data CUiMain_data
SF_CUiVideoSequence_data videoData
uint32_t unknown_length_var
uint16_t actionSubtype_id
uint8_t unknown_config_param
uint16_t world_cell_flags
log_function_ptr logError
log_function_ptr logWarning