SSBM Decomp
Loading...
Searching...
No Matches
gmtou_0.c File Reference
#include "gm_1601.h"
#include "gm_1A3F.h"
#include "gm_1A45.h"
#include "gm_unsplit.h"
#include "gmmain_lib.h"
#include "gmtou_1.h"
#include "gmtoulib.h"
#include "types.h"
#include <placeholder.h>
#include "baselib/fog.h"
#include "baselib/gobjgxlink.h"
#include "baselib/gobjobject.h"
#include "lb/lbarchive.h"
#include "lb/lbaudio_ax.h"
#include "mn/mnmain.h"
#include "mn/mnmainrule.h"
#include "mn/mnname.h"
#include "mn/mnnamenew.h"
#include "sc/types.h"
#include <printf.h>
#include <dolphin/os.h>
#include <baselib/controller.h>
#include <baselib/dobj.h>
#include <baselib/gobj.h>
#include <baselib/gobjplink.h>
#include <baselib/gobjproc.h>
#include <baselib/jobj.h>
#include <baselib/mobj.h>
#include <baselib/particle.h>
#include <baselib/random.h>
#include <baselib/sislib.h>

Data Structures

struct  TmData_80194F30

Typedefs

typedef void(* lbl_803D9FD8_fn) (s32 *, u32, u32)

Functions

void fn_80190ABC (int mode)
void gm_80190EA4 (void)
void gm_80190FE4 (int arg0)
 Initializes the time menu state when entering the time selection screen.
void fn_801910E0 (HSD_GObj *gobj)
void fn_80191154 (HSD_GObj *gobj)
static u8 fn_80191240_dec_flash_timer (void)
static void fn_80191240_save_root_jobj (HSD_JObj *jobj, HSD_JObj **jobj_copy)
static void fn_80191240_get_menu_state (HSD_GObj *gobj, TmData **tm, s32 *val)
static void fn_80191240_show_children (HSD_JObj *jobj_copy, HSD_JObj **jobj, HSD_JObj **first_child)
void fn_80191240 (HSD_GObj *gobj)
 Updates the visibility and flash animation for a Tournament Mode option icon.
void fn_801913BC (HSD_GObj *gobj)
 Updates text visibility and menu state for tournament bracket options.
void fn_80191678 (HSD_GObj *gobj)
 Updates the visibility and animation state of a Tournament Mode menu option.
void fn_8019175C (HSD_GObj *gobj)
void fn_801918F0 (HSD_GObj *gobj)
 Updates visibility and animation frame of a Training Mode HUD element.
void fn_80191A54 (HSD_GObj *gobj)
 Updates the tournament bracket display visibility and animation.
void fn_80191B5C (void *gobj)
 Updates button highlight animation based on current menu option.
void fn_80191CA4 (HSD_GObj *gobj)
 Updates JObj visibility based on current menu option selection.
void fn_80191D38 (HSD_GObj *gobj)
 GObj callback for tournament bracket slot UI elements.
void fn_80191E9C (HSD_GObj *gobj)
 Updates visibility and position of a tournament bracket player entry JObj.
void fn_80191FD4 (HSD_GObj *gobj)
void fn_8019237C (HSD_GObj *gobj)
 Updates tournament menu cursor JObj visibility and position.
void fn_8019249C (HSD_GObj *gobj)
void fn_80192690 (HSD_GObj *gobj)
void fn_80192758 (HSD_GObj *gobj)
s32 fn_80192938 (void)
void fn_80192BB0 (void)
void fn_80192E6C (void)
void fn_80193230 (void)
void fn_80193308 (void)
void fn_801935B8 (void)
void fn_801937C4 (s32 *arg0, u32 arg1, u32 arg2)
static u8 TmSettingTable_GetMin (s32 idx, int match_type)
static u8 TmSettingTable_GetMax (s32 idx, int match_type)
void fn_80193B58 (s32 *arg0, u32 arg1, u32 arg2)
void fn_80193FCC (s32 *arg0, u32 arg1, u32 arg2)
void fn_80194658 (s32 *arg0, u32 arg1, u32 arg2)
void fn_801949B4 (s32 *arg0, u32 arg1, u32 arg2)
void fn_80194BC4 (s32 *arg0, u32 arg1, u32 arg2)
void fn_80194D84 (s32 *state, u32 buttons, u32 trigger)
void fn_80194F30 (s32 *state_ptr, u32 buttons, u32 trigger)
 Handles tournament settings menu input (entrant configuration).
void fn_801953C8 (s32 *state_ptr, u32 buttons, u32 trigger)
 Handles character selection input for tournament bracket.
void fn_80195AF0 (s32 *state_ptr, u32 buttons, u32 trigger)
void fn_80195CCC (s32 *arg, u32 buttons, u32 trigger)
void fn_8019610C (s32 *state, u32 buttons, u32 trigger)
void gm_8019628C_OnFrame (void)
 Tournament Mode per-frame update handler.
void gm_801963B4_OnEnter (void *arg0)
void gm_801964A4_OnLeave (UNK_T arg)
 Scene OnLeave callback for gm_18A5. Frees archive resources.

Variables

SceneDesclbl_804D664C
f32 lbl_804DA704
f32 lbl_804DA708
f32 lbl_804DA6FC
f32 lbl_804DA700
SceneDesclbl_804D6650
f32 lbl_804DA744
f32 lbl_804DA740
f32 lbl_804DA73C
f32 lbl_804DA738
f32 lbl_804DA734
f32 lbl_804DA70C
lbl_803D9FD8_fn lbl_803D9FD8 []
s32 lbl_804D6658
f32 lbl_804DA750
f32 lbl_804DA754
f32 lbl_804DA758
f32 lbl_804DA75C
f32 lbl_804DA760
s32 lbl_804D665C
s32 lbl_804DA78C
 .sdata2
f32 lbl_804DA6D8
f32 lbl_804DA6DC
f32 lbl_804DA6E0
f32 lbl_804DA6E4
s32 lbl_804D6654

Typedef Documentation

◆ lbl_803D9FD8_fn

typedef void(* lbl_803D9FD8_fn) (s32 *, u32, u32)

Function Documentation

◆ fn_80190ABC()

void fn_80190ABC ( int mode)

◆ gm_80190EA4()

void gm_80190EA4 ( void )

◆ gm_80190FE4()

void gm_80190FE4 ( int arg0)

Initializes the time menu state when entering the time selection screen.

◆ fn_801910E0()

void fn_801910E0 ( HSD_GObj * gobj)

◆ fn_80191154()

void fn_80191154 ( HSD_GObj * gobj)

◆ fn_80191240_dec_flash_timer()

u8 fn_80191240_dec_flash_timer ( void )
inlinestatic

◆ fn_80191240_save_root_jobj()

void fn_80191240_save_root_jobj ( HSD_JObj * jobj,
HSD_JObj ** jobj_copy )
inlinestatic

◆ fn_80191240_get_menu_state()

void fn_80191240_get_menu_state ( HSD_GObj * gobj,
TmData ** tm,
s32 * val )
inlinestatic

◆ fn_80191240_show_children()

void fn_80191240_show_children ( HSD_JObj * jobj_copy,
HSD_JObj ** jobj,
HSD_JObj ** first_child )
inlinestatic

◆ fn_80191240()

void fn_80191240 ( HSD_GObj * gobj)

Updates the visibility and flash animation for a Tournament Mode option icon.

◆ fn_801913BC()

void fn_801913BC ( HSD_GObj * gobj)

Updates text visibility and menu state for tournament bracket options.

◆ fn_80191678()

void fn_80191678 ( HSD_GObj * gobj)

Updates the visibility and animation state of a Tournament Mode menu option.

◆ fn_8019175C()

void fn_8019175C ( HSD_GObj * gobj)
Todo
Currently 99.84% match - remaining mismatch is stack slot placement Updates menu option selection animation.

◆ fn_801918F0()

void fn_801918F0 ( HSD_GObj * gobj)

Updates visibility and animation frame of a Training Mode HUD element.

◆ fn_80191A54()

void fn_80191A54 ( HSD_GObj * gobj)

Updates the tournament bracket display visibility and animation.

◆ fn_80191B5C()

void fn_80191B5C ( void * gobj)

Updates button highlight animation based on current menu option.

◆ fn_80191CA4()

void fn_80191CA4 ( HSD_GObj * gobj)

Updates JObj visibility based on current menu option selection.

◆ fn_80191D38()

void fn_80191D38 ( HSD_GObj * gobj)

GObj callback for tournament bracket slot UI elements.

◆ fn_80191E9C()

void fn_80191E9C ( HSD_GObj * gobj)

Updates visibility and position of a tournament bracket player entry JObj.

◆ fn_80191FD4()

void fn_80191FD4 ( HSD_GObj * gobj)

◆ fn_8019237C()

void fn_8019237C ( HSD_GObj * gobj)

Updates tournament menu cursor JObj visibility and position.

◆ fn_8019249C()

void fn_8019249C ( HSD_GObj * gobj)
Todo
Currently 92.46% match - permuter couldn't improve

◆ fn_80192690()

void fn_80192690 ( HSD_GObj * gobj)

◆ fn_80192758()

void fn_80192758 ( HSD_GObj * gobj)
Todo
Currently 98.3% match - remaining mismatch is instruction scheduling

◆ fn_80192938()

s32 fn_80192938 ( void )

◆ fn_80192BB0()

void fn_80192BB0 ( void )

◆ fn_80192E6C()

void fn_80192E6C ( void )

◆ fn_80193230()

void fn_80193230 ( void )

◆ fn_80193308()

void fn_80193308 ( void )

◆ fn_801935B8()

void fn_801935B8 ( void )

◆ fn_801937C4()

void fn_801937C4 ( s32 * arg0,
u32 arg1,
u32 arg2 )

◆ TmSettingTable_GetMin()

u8 TmSettingTable_GetMin ( s32 idx,
int match_type )
inlinestatic

◆ TmSettingTable_GetMax()

u8 TmSettingTable_GetMax ( s32 idx,
int match_type )
inlinestatic

◆ fn_80193B58()

void fn_80193B58 ( s32 * arg0,
u32 arg1,
u32 arg2 )

◆ fn_80193FCC()

void fn_80193FCC ( s32 * arg0,
u32 arg1,
u32 arg2 )

◆ fn_80194658()

void fn_80194658 ( s32 * arg0,
u32 arg1,
u32 arg2 )

◆ fn_801949B4()

void fn_801949B4 ( s32 * arg0,
u32 arg1,
u32 arg2 )
Todo
Currently 93.36% match - remaining mismatch is register allocation

◆ fn_80194BC4()

void fn_80194BC4 ( s32 * arg0,
u32 arg1,
u32 arg2 )
Todo
Currently 84.75% match - needs register allocation fix

◆ fn_80194D84()

void fn_80194D84 ( s32 * state,
u32 buttons,
u32 trigger )
Todo
Currently 97.2% match - permuter couldn't improve Handles button input for tournament mode menu navigation.

◆ fn_80194F30()

void fn_80194F30 ( s32 * state_ptr,
u32 buttons,
u32 trigger )

Handles tournament settings menu input (entrant configuration).

◆ fn_801953C8()

void fn_801953C8 ( s32 * state_ptr,
u32 buttons,
u32 trigger )

Handles character selection input for tournament bracket.

◆ fn_80195AF0()

void fn_80195AF0 ( s32 * state_ptr,
u32 buttons,
u32 trigger )
Todo
Currently 93.5% match - permuter couldn't improve Handles name entry/selection input for tournament mode.

◆ fn_80195CCC()

void fn_80195CCC ( s32 * arg,
u32 buttons,
u32 trigger )

◆ fn_8019610C()

void fn_8019610C ( s32 * state,
u32 buttons,
u32 trigger )

◆ gm_8019628C_OnFrame()

void gm_8019628C_OnFrame ( void )

Tournament Mode per-frame update handler.

◆ gm_801963B4_OnEnter()

void gm_801963B4_OnEnter ( void * arg0)

◆ gm_801964A4_OnLeave()

void gm_801964A4_OnLeave ( UNK_T arg)

Scene OnLeave callback for gm_18A5. Frees archive resources.

Variable Documentation

◆ lbl_804D664C

SceneDesc* lbl_804D664C
extern

◆ lbl_804DA704

f32 lbl_804DA704
extern

◆ lbl_804DA708

f32 lbl_804DA708
extern

◆ lbl_804DA6FC

f32 lbl_804DA6FC
extern

◆ lbl_804DA700

f32 lbl_804DA700
extern

◆ lbl_804D6650

SceneDesc* lbl_804D6650
extern

◆ lbl_804DA744

f32 lbl_804DA744
extern

◆ lbl_804DA740

f32 lbl_804DA740
extern

◆ lbl_804DA73C

f32 lbl_804DA73C
extern

◆ lbl_804DA738

f32 lbl_804DA738
extern

◆ lbl_804DA734

f32 lbl_804DA734
extern

◆ lbl_804DA70C

f32 lbl_804DA70C
extern

◆ lbl_803D9FD8

lbl_803D9FD8_fn lbl_803D9FD8[]
Initial value:
= {
}
void fn_80193B58(s32 *arg0, u32 arg1, u32 arg2)
Definition gmtou_0.c:1547
void fn_8019610C(s32 *state, u32 buttons, u32 trigger)
Definition gmtou_0.c:2789
void fn_801949B4(s32 *arg0, u32 arg1, u32 arg2)
Definition gmtou_0.c:2061
void fn_801937C4(s32 *arg0, u32 arg1, u32 arg2)
Definition gmtou_0.c:1442
void fn_80194F30(s32 *state_ptr, u32 buttons, u32 trigger)
Handles tournament settings menu input (entrant configuration).
Definition gmtou_0.c:2293
void fn_80194BC4(s32 *arg0, u32 arg1, u32 arg2)
Definition gmtou_0.c:2133
void fn_80195AF0(s32 *state_ptr, u32 buttons, u32 trigger)
Definition gmtou_0.c:2619
void fn_80195CCC(s32 *arg, u32 buttons, u32 trigger)
Definition gmtou_0.c:2679
void fn_80193FCC(s32 *arg0, u32 arg1, u32 arg2)
Definition gmtou_0.c:1707
void fn_80194D84(s32 *state, u32 buttons, u32 trigger)
Definition gmtou_0.c:2211
void fn_80194658(s32 *arg0, u32 arg1, u32 arg2)
Definition gmtou_0.c:1950
void fn_801953C8(s32 *state_ptr, u32 buttons, u32 trigger)
Handles character selection input for tournament bracket.
Definition gmtou_0.c:2423
#define NULL
Definition stddef.h:19

◆ lbl_804D6658

s32 lbl_804D6658

◆ lbl_804DA750

f32 lbl_804DA750
extern

◆ lbl_804DA754

f32 lbl_804DA754
extern

◆ lbl_804DA758

f32 lbl_804DA758
extern

◆ lbl_804DA75C

f32 lbl_804DA75C
extern

◆ lbl_804DA760

f32 lbl_804DA760
extern

◆ lbl_804D665C

s32 lbl_804D665C
extern

◆ lbl_804DA78C

s32 lbl_804DA78C
extern

.sdata2

◆ lbl_804DA6D8

f32 lbl_804DA6D8
extern

◆ lbl_804DA6DC

f32 lbl_804DA6DC
extern

◆ lbl_804DA6E0

f32 lbl_804DA6E0
extern

◆ lbl_804DA6E4

f32 lbl_804DA6E4
extern

◆ lbl_804D6654

s32 lbl_804D6654