// Symbol names for AAA/PRO/FIGHTSTG.PRO (splat format). Tier-1 overlays share one address range,
// so each overlay has its own symbol file; the EXE's names come from config/symbol_addrs.txt.

// Functions spimdisasm cut short at a switch case (tools/split_case_sizes.py).
fightstg_script_get_slot = 0x8008B630; // type:func size:0x6C
fightstg_message_list_members = 0x80098DE0; // type:func size:0x360

// Module structs (state + function table): splat writes base + offset for every access inside them.
fightstg_events = 0x800A3868; // size:0xB1C
fightstg_action = 0x800A43F4; // size:0x6C
fightstg_battle = 0x800A4460; // size:0xF8
fightstg_models = 0x800A4558; // size:0x28
fightstg_rules = 0x800A4580; // size:0xF0
fightstg_math = 0x800A469C; // size:0xC

// The tier-2 battle overlays' functions FIGHTSTG calls (loaded at 0x800A5DE0; include/wfightmn.h), under their
// own overlays' names. FIGHTSTG doesn't link against them (they link against it): configure.py defines these
// absolute names for its link (build/fightstg/tier2_calls.ld). names_for_tier2.txt only takes FIGHTSTG's own
// range, so they don't reach the tier-2 configs.
wfightmn_check_regen = 0x800A6920; // type:func absolute:True
wfightts_main_create = 0x800A7A60; // type:func absolute:True
wfightmn_main_create = 0x800A9FF0; // type:func absolute:True
wfightmn_add_gauge = 0x800AA110; // type:func absolute:True
wfightmn_tech_script_create = 0x800AA1F0; // type:func absolute:True
wfightmn_update_idle_anim = 0x800AA9F0; // type:func absolute:True
wfightmn_count_boss_hits = 0x800AAB10; // type:func absolute:True
wfightmn_check_final_phase_end = 0x800AABA0; // type:func absolute:True
wfightmn_cap_damage = 0x800AABF0; // type:func absolute:True

// Names (DECISIONS "Naming conventions"; fightstg-names).
fightstg_player_reaction_pos = 0x80082D30;
fightstg_model_blend_part = 0x800832D0; // type:func
fightstg_model_pose_part = 0x800835F4; // type:func
fightstg_model_pose = 0x80083854; // type:func
fightstg_model_save_pose = 0x800839C0; // type:func
fightstg_model_play_anim = 0x80083A54; // type:func
fightstg_model_step_anim = 0x80083C30; // type:func
fightstg_model_update = 0x80083E0C; // type:func
fightstg_model_set_color = 0x80084464; // type:func
fightstg_model_set_part_unclipped = 0x800844F8; // type:func
fightstg_model_is_anim_done = 0x80084554; // type:func
fightstg_model_new = 0x80084560; // type:func
fightstg_model_create_idle = 0x80084790; // type:func
fightstg_model_create = 0x800847C4; // type:func
fightstg_model_mesh_light = 0x800847F4; // type:func
fightstg_model_mesh_project = 0x80084A54; // type:func
fightstg_model_add_poly_gt = 0x80084BC0; // type:func
fightstg_model_add_poly_ft = 0x80084E0C; // type:func
fightstg_model_mesh_is_visible = 0x80085000; // type:func
fightstg_model_mesh_draw = 0x80085110; // type:func
fightstg_model_mesh_draw_edges = 0x80085958; // type:func
fightstg_model_mesh_queue_draw = 0x80085F3C; // type:func
fightstg_model_mesh_queue_edges = 0x80085FD4; // type:func
fightstg_model_mesh_update = 0x8008606C; // type:func
fightstg_model_mesh_create = 0x8008610C; // type:func
fightstg_stage_apply_fade = 0x800861F4; // type:func
fightstg_stage_update = 0x80086304; // type:func
fightstg_stage_change = 0x800868C0; // type:func
fightstg_stage_get_random = 0x80086904; // type:func
fightstg_stage_get_file = 0x8008695C; // type:func
fightstg_stage_create = 0x800869A8; // type:func
fightstg_entrance_update = 0x80086A00; // type:func
fightstg_entrance_create = 0x80087000; // type:func
fightstg_main_update = 0x80087070; // type:func
fightstg_entry = 0x80087160; // type:func
fightstg_idle_camera_update = 0x8008718C; // type:func
fightstg_idle_camera_create = 0x80087B84; // type:func
fightstg_slots_update = 0x80087BB0; // type:func
fightstg_slots_find = 0x80087BF8; // type:func
fightstg_slots_find_free = 0x80087C3C; // type:func
fightstg_slots_remove = 0x80087C70; // type:func
fightstg_slots_add = 0x80087D00; // type:func
fightstg_slots_get_params = 0x80087E28; // type:func
fightstg_slots_set_id = 0x80087E7C; // type:func
fightstg_slots_get_model_id = 0x80087EE4; // type:func
fightstg_slots_reset_pos = 0x80087F38; // type:func
fightstg_slots_set_idle_anim = 0x80088024; // type:func
fightstg_slots_create = 0x80088054; // type:func
fightstg_enemy_turn_find_target = 0x80088394; // type:func
fightstg_enemy_turn_update = 0x80088564; // type:func
fightstg_enemy_turn_create = 0x80088C00; // type:func
fightstg_enemy_check_condition = 0x80088C2C; // type:func
fightstg_enemy_get_action = 0x80089148; // type:func
fightstg_sprite_anim_draw = 0x8008921C; // type:func
fightstg_sprite_anim_update = 0x800893DC; // type:func
fightstg_sprite_anim_create = 0x8008966C; // type:func
fightstg_prop_update = 0x8008970C; // type:func
fightstg_prop_get_file = 0x800897F8; // type:func
fightstg_prop_create = 0x80089844; // type:func
fightstg_effect_get_files = 0x80089978; // type:func
fightstg_effect_update = 0x80089A24; // type:func
fightstg_effect_create = 0x80089BE4; // type:func
fightstg_digivolve_update = 0x80089CD8; // type:func
fightstg_digivolve_create = 0x8008A7F4; // type:func
fightstg_fade_start = 0x8008A83C; // type:func
fightstg_fade_draw = 0x8008A8C4; // type:func
fightstg_fade_update = 0x8008AA08; // type:func
fightstg_fade_create = 0x8008AAAC; // type:func
fightstg_lights_update = 0x8008AAF0; // type:func
fightstg_lights_set = 0x8008AE9C; // type:func
fightstg_lights_fade = 0x8008AF10; // type:func
fightstg_lights_get_stage = 0x8008B06C; // type:func
fightstg_lights_create = 0x8008B0B8; // type:func
fightstg_texture_anim_get_forced_frame = 0x8008B118; // type:func
fightstg_texture_anim_set_move = 0x8008B160; // type:func
fightstg_texture_anim_update = 0x8008B200; // type:func
fightstg_texture_anim_create = 0x8008B508; // type:func
fightstg_script_run_child = 0x8008B69C; // type:func
fightstg_script_run_model = 0x8008B7F4; // type:func
fightstg_script_run_effect = 0x8008BC80; // type:func
fightstg_script_run_prop = 0x8008BEA8; // type:func
fightstg_script_run_camera = 0x8008C004; // type:func
fightstg_script_run_wait = 0x8008C220; // type:func
fightstg_script_run_stage = 0x8008C2CC; // type:func
fightstg_script_run_sound = 0x8008C454; // type:func
fightstg_script_run_flash = 0x8008C514; // type:func
fightstg_script_update = 0x8008C590; // type:func
fightstg_script_create = 0x8008C910; // type:func
fightstg_defeat_camera_update = 0x8008C93C; // type:func
fightstg_defeat_camera_create = 0x8008CB44; // type:func
fightstg_attack_update = 0x8008CB70; // type:func
fightstg_attack_create = 0x8008D37C; // type:func
fightstg_item_run_script = 0x8008D3B4; // type:func
fightstg_item_update = 0x8008DAC0; // type:func
fightstg_item_create = 0x8008EE4C; // type:func
fightstg_counter_update = 0x8008EE84; // type:func
fightstg_counter_create = 0x8008F57C; // type:func
fightstg_revive_member = 0x8008F5D4; // type:func
fightstg_tech_update = 0x8008F714; // type:func
fightstg_tech_create = 0x80090C44; // type:func
fightstg_results_update = 0x80091534; // type:func
fightstg_results_create = 0x80091B54; // type:func
fightstg_model_view_set = 0x80091B8C; // type:func
fightstg_model_view_reset = 0x80091C1C; // type:func
fightstg_model_view_update = 0x80091CF4; // type:func
fightstg_model_view_create = 0x80091DAC; // type:func
fightstg_camera_update = 0x80091DF4; // type:func
fightstg_camera_set = 0x80092244; // type:func
fightstg_camera_move = 0x800922B4; // type:func
fightstg_camera_get_preset = 0x800923B4; // type:func
fightstg_camera_get_default = 0x8009257C; // type:func
fightstg_camera_create = 0x80092618; // type:func
fightstg_command_update = 0x80092684; // type:func
fightstg_command_create = 0x80092D50; // type:func
fightstg_command_set_phase = 0x80092D80; // type:func
fightstg_command_is_open = 0x80092DE4; // type:func
fightstg_flash_draw = 0x80092E18; // type:func
fightstg_flash_update = 0x80092F7C; // type:func
fightstg_flash_end = 0x80093088; // type:func
fightstg_flash_create = 0x800930C0; // type:func
fightstg_hud_update_hp = 0x80093108; // type:func
fightstg_hud_move_bar = 0x8009328C; // type:func
fightstg_hud_update_names = 0x80093364; // type:func
fightstg_hud_draw = 0x800934F0; // type:func
fightstg_hud_update = 0x80093A74; // type:func
fightstg_hud_create = 0x80093CC8; // type:func
fightstg_command_menu_open = 0x80093CF4; // type:func
fightstg_command_menu_update = 0x80093E44; // type:func
fightstg_command_menu_create = 0x80093F9C; // type:func
fightstg_portrait_draw = 0x80093FEC; // type:func
fightstg_portrait_update = 0x80094064; // type:func
fightstg_portrait_create = 0x8009426C; // type:func
fightstg_digivolve_menu_show_names = 0x80094298; // type:func
fightstg_digivolve_menu_update = 0x80094478; // type:func
fightstg_digivolve_menu_create = 0x8009482C; // type:func
fightstg_status_draw_arrows = 0x80094878; // type:func
fightstg_status_open = 0x8009492C; // type:func
fightstg_status_draw_stats = 0x80094A00; // type:func
fightstg_status_show_stats = 0x80094AD0; // type:func
fightstg_status_draw_techs = 0x80094C18; // type:func
fightstg_status_show_techs = 0x80094D50; // type:func
fightstg_status_update = 0x80094F08; // type:func
fightstg_status_create = 0x800953E4; // type:func
fightstg_item_menu_draw = 0x8009543C; // type:func
fightstg_item_menu_open = 0x8009563C; // type:func
fightstg_item_menu_show_page = 0x800957B4; // type:func
fightstg_item_menu_update = 0x800959B0; // type:func
fightstg_item_menu_create = 0x80095E00; // type:func
fightstg_tech_menu_draw = 0x80095E40; // type:func
fightstg_tech_menu_open = 0x80096048; // type:func
fightstg_tech_menu_show_page = 0x80096314; // type:func
fightstg_tech_menu_update = 0x800967A0; // type:func
fightstg_tech_menu_create = 0x80096E88; // type:func
fightstg_member_menu_get_team_item = 0x80096EC8; // type:func
fightstg_member_menu_draw = 0x80096FE4; // type:func
fightstg_member_menu_open = 0x800970C0; // type:func
fightstg_member_menu_show = 0x800972C8; // type:func
fightstg_member_menu_update = 0x80097498; // type:func
fightstg_member_menu_create = 0x80097984; // type:func
fightstg_switch_menu_draw = 0x800979E4; // type:func
fightstg_switch_menu_open = 0x80097AB0; // type:func
fightstg_switch_menu_show_forms = 0x80097BD8; // type:func
fightstg_switch_menu_show_actions = 0x80097CFC; // type:func
fightstg_switch_menu_update = 0x800980E4; // type:func
fightstg_switch_menu_create = 0x80098884; // type:func
fightstg_switch_menu_create_team = 0x800988FC; // type:func
fightstg_message_draw = 0x80098924; // type:func
fightstg_message_step = 0x80098A84; // type:func
fightstg_message_update = 0x80098C9C; // type:func
fightstg_message_set_name = 0x80098D14; // type:func
fightstg_message_show_members = 0x80099140; // type:func
fightstg_message_show = 0x80099588; // type:func
fightstg_message_close = 0x8009A254; // type:func
fightstg_message_create = 0x8009A298; // type:func
fightstg_confused_menu_open = 0x8009A2DC; // type:func
fightstg_confused_menu_draw = 0x8009A3B4; // type:func
fightstg_confused_menu_step = 0x8009A514; // type:func
fightstg_confused_menu_set_name = 0x8009A6BC; // type:func
fightstg_confused_menu_show = 0x8009A734; // type:func
fightstg_confused_menu_update = 0x8009A898; // type:func
fightstg_confused_menu_create = 0x8009AB74; // type:func
fightstg_cursor_copy_highlight = 0x8009ABD8; // type:func
fightstg_cursor_draw = 0x8009ADD4; // type:func
fightstg_cursor_update = 0x8009AF4C; // type:func
fightstg_cursor_create = 0x8009B0C8; // type:func
fightstg_jump_update = 0x8009B13C; // type:func
fightstg_jump_create = 0x8009B460; // type:func
fightstg_move_update = 0x8009B4EC; // type:func
fightstg_move_create = 0x8009B650; // type:func
fightstg_sound_update = 0x8009B6E4; // type:func
fightstg_sound_play = 0x8009B774; // type:func
fightstg_enemy_find_record = 0x8009B864; // type:func
fightstg_enemy_get_record = 0x8009B8D0; // type:func
fightstg_events_add = 0x8009B930; // type:func
fightstg_events_add_first = 0x8009B9D0; // type:func
fightstg_events_take_next = 0x8009BA4C; // type:func
fightstg_events_find_from = 0x8009BBA8; // type:func
fightstg_events_find = 0x8009BC14; // type:func
fightstg_events_find_next = 0x8009BC54; // type:func
fightstg_events_find_member = 0x8009BC94; // type:func
fightstg_events_remove_member = 0x8009BD44; // type:func
fightstg_events_get_delay = 0x8009BDA4; // type:func
fightstg_events_cure_status = 0x8009C330; // type:func
fightstg_events_add_party_turn = 0x8009C4BC; // type:func
fightstg_events_add_enemy_turn = 0x8009C4F8; // type:func
fightstg_events_end_battle = 0x8009C534; // type:func
fightstg_events_add_escape = 0x8009C578; // type:func
fightstg_events_set_field_end = 0x8009C740; // type:func
fightstg_events_start_poison = 0x8009C7D4; // type:func
fightstg_events_start_paralysis = 0x8009C8B0; // type:func
fightstg_events_start_confusion = 0x8009C9C0; // type:func
fightstg_events_start_sleep = 0x8009CB10; // type:func
fightstg_events_start_modifier = 0x8009CC20; // type:func
fightstg_events_start_seal = 0x8009CD1C; // type:func
fightstg_events_add_gauge_full = 0x8009CED0; // type:func
fightstg_events_start_blast = 0x8009CF00; // type:func
fightstg_events_add_knockout = 0x8009CF54; // type:func
fightstg_action_try_poison = 0x8009D140; // type:func
fightstg_action_try_paralysis = 0x8009D1DC; // type:func
fightstg_action_try_confusion = 0x8009D2C4; // type:func
fightstg_action_try_sleep = 0x8009D3AC; // type:func
fightstg_action_try_knockout = 0x8009D470; // type:func
fightstg_action_hit_again = 0x8009D4B8; // type:func
fightstg_action_try_drain = 0x8009D61C; // type:func
fightstg_action_try_steal = 0x8009D7A4; // type:func
fightstg_action_lower_attack = 0x8009D858; // type:func
fightstg_action_lower_defense = 0x8009D944; // type:func
fightstg_action_drain_mp = 0x8009DA0C; // type:func
fightstg_action_apply_effect = 0x8009DF78; // type:func
fightstg_action_run = 0x8009E0CC; // type:func
fightstg_battle_update_speed = 0x8009E428; // type:func
fightstg_battle_set_speed = 0x8009E510; // type:func
fightstg_battle_to_screen = 0x8009E53C; // type:func
fightstg_battle_draw_quad = 0x8009E77C; // type:func
fightstg_battle_draw_quad_opaque = 0x8009E950; // type:func
fightstg_battle_draw_quad_semi = 0x8009E970; // type:func
fightstg_models_get = 0x8009E994; // type:func
fightstg_models_select = 0x8009EADC; // type:func
fightstg_models_get_texture_anim = 0x8009EB94; // type:func
fightstg_models_get_range = 0x8009EBE0; // type:func
fightstg_rules_get_stats = 0x8009EC94; // type:func
fightstg_rules_get_field_bonus = 0x8009F644; // type:func
fightstg_rules_scale_damage = 0x8009F6DC; // type:func
fightstg_rules_get_damage = 0x8009F97C; // type:func
fightstg_rules_get_special_damage = 0x8009FAB4; // type:func
fightstg_rules_get_poison_damage = 0x8009FE1C; // type:func
fightstg_rules_get_counter_damage = 0x8009FF40; // type:func
fightstg_rules_get_heal = 0x800A0108; // type:func
fightstg_rules_roll_critical = 0x800A02AC; // type:func
fightstg_rules_roll_special_critical = 0x800A0514; // type:func
fightstg_rules_roll_hit = 0x800A06AC; // type:func
fightstg_rules_roll_special_hit = 0x800A08C8; // type:func
fightstg_rules_roll_poison = 0x800A0A18; // type:func
fightstg_rules_roll_paralysis = 0x800A0B98; // type:func
fightstg_rules_roll_confusion = 0x800A0D00; // type:func
fightstg_rules_roll_sleep = 0x800A0E68; // type:func
fightstg_rules_roll_knockout = 0x800A0FAC; // type:func
fightstg_rules_roll_steal = 0x800A1114; // type:func
fightstg_rules_roll_drain = 0x800A1308; // type:func
fightstg_rules_roll_counter = 0x800A15A8; // type:func
fightstg_rules_roll_escape = 0x800A1608; // type:func
fightstg_rules_roll_wake = 0x800A17C8; // type:func
fightstg_rules_roll_confused = 0x800A1910; // type:func
fightstg_rules_roll_paralyzed = 0x800A19D8; // type:func
fightstg_rules_change_modifier = 0x800A1AA8; // type:func
fightstg_rules_get_gauge_gain = 0x800A1C18; // type:func
fightstg_rules_get_tech_cost = 0x800A1D3C; // type:func
fightstg_math_lerp = 0x800A1E8C; // type:func
fightstg_math_wave = 0x800A1F74; // type:func
fightstg_intro_camera_update = 0x800A1FE0; // type:func
fightstg_intro_camera_create = 0x800A246C; // type:func
fightstg_stage_sounds = 0x800A2498;
fightstg_idle_camera_steps = 0x800A24B8;
fightstg_idle_camera_next = 0x800A2518;
fightstg_slots_vram = 0x800A2530;
fightstg_props = 0x800A2550;
fightstg_effect_files = 0x800A2B74;
fightstg_effects = 0x800A2EA4;
fightstg_item_cure_poison = 0x800A334C;
fightstg_item_cure_paralysis = 0x800A3354;
fightstg_item_cure_confusion = 0x800A335C;
fightstg_item_cure_all = 0x800A3364;
fightstg_item_scripts = 0x800A336C;
fightstg_tech_stat_effects = 0x800A33CC;
fightstg_tech_party_stat_effects = 0x800A3414;
fightstg_tech_cure_flags = 0x800A3434;
fightstg_revive_event_types = 0x800A3438;
fightstg_tech_cure_kinds = 0x800A3450;
fightstg_tech_cure_messages = 0x800A3460;
fightstg_hud_bars = 0x800A3470;
fightstg_hud_bar_colors = 0x800A3490;
fightstg_hud_gauge = 0x800A34A0;
fightstg_hud_gauge_colors = 0x800A34B0;
fightstg_hud_icon_x = 0x800A34C0;
fightstg_command_menu_cursor = 0x800A34CC;
fightstg_digivolve_menu_cursor = 0x800A34EC;
fightstg_status_stat_windows = 0x800A350C;
fightstg_item_menu_cursor = 0x800A3534;
fightstg_tech_menu_cursor = 0x800A3554;
fightstg_member_menu_cursor = 0x800A3574;
fightstg_switch_menu_cursors = 0x800A3594;
fightstg_switch_menu_window_x = 0x800A35D4;
fightstg_confused_menu_messages = 0x800A35E4;
fightstg_confused_menu_order = 0x800A3624;
fightstg_confused_menu_cursor = 0x800A3634;
fightstg_cursor_rect = 0x800A3654;
fightstg_jump_params = 0x800A365C;
fightstg_sounds = 0x800A368C;
fightstg_enemy_records = 0x800A37FC;
fightstg_events_take_modes = 0x800A3800;
fightstg_events_delay_formulas = 0x800A4384;
fightstg_status_event_types = 0x800A43D4;
fightstg_status_flags = 0x800A43DC;
fightstg_modifier_event_types = 0x800A43E0;
fightstg_seal_event_types = 0x800A43EC;
fightstg_rules_opposite_elements = 0x800A4670;
fightstg_rules_modifier_stats = 0x800A4694;
fightstg_intro_camera_steps = 0x800A46A8;
fightstg_unused_0 = 0x800A46CC; // size:0x4
fightstg_script_saved_idle_anim = 0x800A46D0;
fightstg_unused_1 = 0x800A46D4; // size:0x4
fightstg_camera_setting = 0x800A46D8;
fightstg_unused_2 = 0x800A470C; // size:0x4
fightstg_portrait_rect = 0x800A4710;
fightstg_cursor_moves = 0x800A4718;
fightstg_cursor_ot = 0x800A4778;
fightstg_new_event = 0x800A4780;

// names-2: the last unnamed functions (boss/scripted battles, regeneration, revert, technique kinds 10-35).
fightstg_player_reaction_update = 0x800880F0; // type:func
fightstg_player_reaction_create = 0x8008834C; // type:func
fightstg_nop = 0x80089214; // type:func
fightstg_scripted_turn_update = 0x80090C8C; // type:func
fightstg_scripted_turn_create = 0x80090E58; // type:func
fightstg_boss_turn_update = 0x80090E84; // type:func
fightstg_boss_turn_create = 0x800914EC; // type:func
fightstg_events_add_regen_end = 0x8009C5E8; // type:func
fightstg_events_start_regen = 0x8009C6A4; // type:func
fightstg_events_add_counter_stance = 0x8009CE84; // type:func
fightstg_events_add_boost_end = 0x8009CFB0; // type:func
fightstg_events_add_revert = 0x8009CFF4; // type:func
fightstg_events_add_boss_entrance = 0x8009D038; // type:func
fightstg_events_start_final_phase = 0x8009D06C; // type:func
fightstg_events_end_final_phase = 0x8009D0EC; // type:func
fightstg_action_mark_counter_tech = 0x8009D72C; // type:func
fightstg_action_mark_critical_tech = 0x8009D768; // type:func
fightstg_action_try_lower_stat = 0x8009DAAC; // type:func
fightstg_action_try_lower_stats = 0x8009DB94; // type:func
fightstg_action_try_lower_all_stats = 0x8009DC8C; // type:func
fightstg_action_try_seal = 0x8009DD64; // type:func
fightstg_action_double_strike = 0x8009DDD8; // type:func
fightstg_action_cut_hp = 0x8009DEBC; // type:func
fightstg_rules_get_regen = 0x800A01AC; // type:func
fightstg_rules_roll_revert = 0x800A13C0; // type:func
fightstg_rules_roll_lower_stat = 0x800A1458; // type:func
fightstg_rules_roll_switch_seal = 0x800A1508; // type:func
fightstg_rules_roll_digivolve_seal = 0x800A1558; // type:func
fightstg_math_nop = 0x800A1E84; // type:func
