SSBM Decomp
Loading...
Searching...
No Matches
gm_18A5.c File Reference

Data Structures

struct  lbl_803B7C80_t
struct  CamDesc
struct  Lbl804799B8_t
struct  Lbl804799D8_t

Typedefs

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

Functions

void fn_8018A514 (int count, float val)
void fn_8018A970 (int arg0)
void fn_8018AA74 (HSD_JObj *jobj, s32 entry_idx, s32 slot_idx)
void fn_8018B090 (HSD_GObj *arg0)
void fn_8018C8D4 (void *arg0, s32 arg1, s32 arg2, s32 arg3, s32 arg4, s32 arg5, s32 arg6, f32 farg0)
 Draws tournament bracket lines for different bracket types (0-3).
void fn_8018D50C (void *arg0, s32 arg1, s32 arg2, s32 arg3, s32 arg4, s32 arg5, s32 arg6, f32 farg0)
 Draws tournament bracket connector lines with optional tail segments.
void fn_8018DC18 (void *arg0, s32 arg1, s32 arg2, s32 arg3, s32 arg4, s32 arg5, s32 arg6, f32 farg0)
void fn_8018DF68 (void *arg0, s32 arg1, s32 arg2, s32 arg3, s32 arg4, s32 arg5, s32 arg6, f32 farg0)
void fn_8018E46C (HSD_GObj *gobj, int unused)
void fn_8018E618 (int arg0, int arg1, f32 farg0)
 Initializes the tournament bracket camera and optionally resets bracket data.
void fn_8018E85C (DynamicModelDesc *model, s32 flag)
void fn_8018EC48 (void)
void fn_8018EC7C (void)
void fn_8018ECA8 (s32 char_id, s32 name_type, s32 jobj_idx1, f32 pos_x, f32 pos_y, s32 jobj_idx2)
void fn_8018F00C (char *dest, s32 slot_id)
 Formats a tournament slot display name into a destination buffer.
s32 gm_8018F1B0 (MatchEnd *me)
int fn_8018F310 (int arg0)
int fn_8018F3BC (s32 arg0)
int fn_8018F3D0 (int arg0)
int fn_8018F410 (void)
int fn_8018F4A0 (void)
 fn_8018F410
s32 fn_8018F508 (s32 *out_index)
 Counts available tournament slots and returns the last found index.
char * fn_8018F5F0 (void)
u32 fn_8018F62C (HSD_GObj *gobj)
 ?
TmDatagm_8018F634 (void)
u32 fn_8018F640 (int arg0)
u32 fn_8018F674 (int arg0)
u32 fn_8018F6A8 (int arg0)
int fn_8018F6DC (int arg0)
CharacterKind fn_8018F6FC (CSSIconHud arg0)
float fn_8018F71C (int arg0, int arg1)
 returns the frame for the tou css icon?
int fn_8018F74C (void)
int fn_8018F808 (void)
void fn_8018F888 (void)
void fn_8018FA24 (void)
void fn_8018FBD8 (void *arg0, s32 arg1)
void fn_8018FBE0 (s32 arg0, s32 arg1, s32 arg2, s8 arg3, s8 arg4, s16 arg5, s8 arg6)
void fn_8018FDC4 (HSD_JObj *jobj, float x, float y, float z)
void fn_8018FF9C (HSD_JObj *jobj, float x, float y, float z)
HSD_GObjfn_80190174 (HSD_CObjDesc *cobjdesc)
HSD_GObjfn_801901F8 (HSD_CObjDesc *cobjdesc)
void fn_8019027C (UNK_T lights)
void fn_801902F0 (int sis_param)
 Initializes SIS library text rendering for tournament mode.
HSD_GObjfn_8019035C (bool arg0, DynamicModelDesc *model, int arg2, int arg3, int arg4, bool arg5, void(*arg6)(HSD_GObj *), f32 arg8)
void fn_8019044C (HSD_JObj *jobj, float arg1)
void fn_80190480 (float arg8)
void fn_801904D0 (void)
void fn_80190520 (f32 x, f32 y, f32 z)
static int gm_801905F0_inline0 (int c_kind)
 fn_80190520
void gm_801905F0 (StartMeleeData *arg0)
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)
void fn_80191240 (HSD_GObj *gobj)
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)
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.
void fn_80196510 (void)
s32 fn_8019655C (void)
bool fn_80196564 (TmData *arg0)
bool fn_80196594 (TmData *arg0)
void fn_801965C4 (void)
void fn_80196684 (s32 bracket_idx)
 Randomly assigns bracket positions for tournament seeding.
void fn_801967E0 (s32 arg0)
s32 fn_80196CF8 (void)
void fn_80196DBC (HSD_GObj *gobj)
 Cycles animation frame counter and updates JObj animation.
void fn_80196E30 (HSD_GObj *gobj)
 Updates the tournament UI animation frame counter.
void fn_80196EEC (HSD_GObj *gobj)
 Tournament mode JObj visibility/animation callback.
void fn_80196FFC (HSD_GObj *gobj)
void fn_801973F8 (HSD_GObj *gobj)
 Updates visibility and position of a tournament menu JObj.
void fn_801975C8 (HSD_GObj *gobj)
 Updates visibility of a tournament menu JObj based on current menu state.
void fn_801976D4 (HSD_GObj *gobj)
 Updates visibility and animation of tournament menu JObj.
void fn_801977AC (HSD_GObj *gobj)
void fn_80197AF0 (HSD_GObj *gobj)
void fn_80197D4C (HSD_GObj *gobj)
 Updates visibility of a menu JObj based on current menu option.
void fn_80197E18 (HSD_GObj *gobj)
void fn_80197FD8 (HSD_GObj *gobj)
void fn_801981A0 (HSD_GObj *gobj)
void fn_801983E4 (HSD_GObj *gobj)
 Updates the visibility and position of a player's controller indicator.
void fn_80198584 (ResultsData *results)
void fn_801985D4 (HSD_GObj *gobj)
void fn_80198824 (HSD_GObj *gobj)
 Animates and positions the tournament bracket results overlay JObj.
void fn_80198BA0 (void)
 Initializes tournament mode match data.
void fn_80198C60 (void)
void fn_80198D18 (void)
 Initializes the scene rendering components for the gm_18A5 game mode.
void fn_80198EBC (void)
void fn_80199AF0 (void)
void fn_8019A158 (void)
void fn_8019A71C (s32 *state, u32 unused1, u32 unused2)
 #fn_8019A158_end
void gm_8019A828 (void)
void fn_8019A86C (s32 *arg0, u32 arg1, u32 arg2)
void fn_8019AF50 (s32 *arg0, u32 arg1, u32 arg2)
 Tournament match timer display/audio state machine.
void gm_8019B2DC_OnFrame (void)
void fn_8019B458 (s32 *arg0)
 Transitions to results screen after a tournament match.
void fn_8019B81C (s32 *state)
 Initializes match data and transitions to next state.
void fn_8019B860 (TmData *tm)

Variables

char * lbl_804DA6B4
char * lbl_804DA6B8
char * lbl_804DA6BC
char * lbl_804DA6C0
char * lbl_804DA6C4
char * lbl_804DA6C8
char * lbl_804DA6CC
char * lbl_804DA6D0
lbl_803D9FD8_fn lbl_803D9FD8 []
s32 lbl_804D6630
s32 lbl_804D6634
struct lbl_803B7C80_t lbl_803B7C80
static GXColor lbl_804DA67C = { 255, 255, 0, 255 }
static GXColor lbl_804DA684 = { 255, 255, 0, 255 }
static GXColor col = { 255, 0, 255, 255 }
CamDesc lbl_803B7CA8
HSD_GObjlbl_804D663C
static struct Lbl804799B8_t lbl_804799B8
u8 lbl_803D9F80 []
f32 lbl_804DA6FC
f32 lbl_804DA700
f32 lbl_804DA704
f32 lbl_804DA708
f32 lbl_804DA70C
static u8 lbl_804799B8_data [0x40]
s32 lbl_804D6658
f32 lbl_804DA734
f32 lbl_804DA738
f32 lbl_804DA73C
f32 lbl_804DA740
f32 lbl_804DA744
f32 lbl_804DA750
f32 lbl_804DA754
f32 lbl_804DA758
f32 lbl_804DA75C
f32 lbl_804DA760
s32 lbl_804D665C
s32 lbl_804DA78C
 .sdata2
f32 lbl_804DA6E8
f32 lbl_804DA6D8
f32 lbl_804DA6DC
f32 lbl_804DA6E0
f32 lbl_804DA6E4
s32 lbl_804D6654
struct { 
   UNK_T   x0 
   UNK_T   x4 
   UNK_T   x8 
lbl_804771B8
 Filename is just a guess, based on some strings in the file Seems to be Tournament game code.
static struct Lbl804799D8_t lbl_804799D8
s32 lbl_803B7CE0 [9]
f32 lbl_804DA7E0
f32 lbl_804DA7E4
f32 lbl_804DA7E8
f32 lbl_804DA7EC
f32 lbl_804DA7F0
f32 lbl_804DA810
f32 lbl_804DA814
f32 lbl_804DA818
f32 lbl_804DA81C
f32 lbl_804DA820
f32 lbl_804DA824
s32 lbl_804D667C
SceneDesclbl_804D666C
f32 lbl_804DA808
f32 lbl_804DA82C
f32 lbl_804DA830
f32 lbl_804DA834
f32 lbl_804DA838
f32 lbl_804DA83C
f32 lbl_804DA840
SceneDesclbl_804D6674
f32 lbl_804DA828
f32 lbl_804DA844
f32 lbl_804DA848
f32 lbl_804DA84C
f32 lbl_804DA850
f32 lbl_804DA854
f32 lbl_804DA858
f32 lbl_804DA85C
f32 lbl_804DA860
f32 lbl_804DA864
f32 lbl_804DA868
f32 lbl_804DA86C
f32 lbl_804DA870
f32 lbl_804DA874
MatchEnd gm_80477738
SceneDesclbl_804D6670
s32 lbl_804D6678
u8 lbl_804D6680 [8]
u8 lbl_803B7D04 [20]

Typedef Documentation

◆ lbl_803D9FD8_fn

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

Function Documentation

◆ fn_8018A514()

void fn_8018A514 ( int count,
float val )

◆ fn_8018A970()

void fn_8018A970 ( int arg0)

◆ fn_8018AA74()

void fn_8018AA74 ( HSD_JObj * jobj,
s32 entry_idx,
s32 slot_idx )

◆ fn_8018B090()

void fn_8018B090 ( HSD_GObj * arg0)

◆ fn_8018C8D4()

void fn_8018C8D4 ( void * arg0,
s32 arg1,
s32 arg2,
s32 arg3,
s32 arg4,
s32 arg5,
s32 arg6,
f32 farg0 )

Draws tournament bracket lines for different bracket types (0-3).

◆ fn_8018D50C()

void fn_8018D50C ( void * arg0,
s32 arg1,
s32 arg2,
s32 arg3,
s32 arg4,
s32 arg5,
s32 arg6,
f32 farg0 )

Draws tournament bracket connector lines with optional tail segments.

◆ fn_8018DC18()

void fn_8018DC18 ( void * arg0,
s32 arg1,
s32 arg2,
s32 arg3,
s32 arg4,
s32 arg5,
s32 arg6,
f32 farg0 )

◆ fn_8018DF68()

void fn_8018DF68 ( void * arg0,
s32 arg1,
s32 arg2,
s32 arg3,
s32 arg4,
s32 arg5,
s32 arg6,
f32 farg0 )

◆ fn_8018E46C()

void fn_8018E46C ( HSD_GObj * gobj,
int unused )
Todo
Currently 98.8% match - permuter couldn't improve beyond score 140

◆ fn_8018E618()

void fn_8018E618 ( int arg0,
int arg1,
f32 farg0 )

Initializes the tournament bracket camera and optionally resets bracket data.

Removes all existing GObjs from two entity lists, inits lbl_80473AB8 entries, creates camera GObj with CObjDesc loaded from lbl_803B7CA8 rodata.

◆ fn_8018E85C()

void fn_8018E85C ( DynamicModelDesc * model,
s32 flag )

◆ fn_8018EC48()

void fn_8018EC48 ( void )

◆ fn_8018EC7C()

void fn_8018EC7C ( void )

◆ fn_8018ECA8()

void fn_8018ECA8 ( s32 char_id,
s32 name_type,
s32 jobj_idx1,
f32 pos_x,
f32 pos_y,
s32 jobj_idx2 )

◆ fn_8018F00C()

void fn_8018F00C ( char * dest,
s32 slot_id )

Formats a tournament slot display name into a destination buffer.

◆ gm_8018F1B0()

s32 gm_8018F1B0 ( MatchEnd * me)

◆ fn_8018F310()

int fn_8018F310 ( int arg0)

◆ fn_8018F3BC()

int fn_8018F3BC ( s32 arg0)

◆ fn_8018F3D0()

int fn_8018F3D0 ( int arg0)

◆ fn_8018F410()

int fn_8018F410 ( void )

◆ fn_8018F4A0()

int fn_8018F4A0 ( void )

◆ fn_8018F508()

s32 fn_8018F508 ( s32 * out_index)

Counts available tournament slots and returns the last found index.

◆ fn_8018F5F0()

char * fn_8018F5F0 ( void )

◆ fn_8018F62C()

u32 fn_8018F62C ( HSD_GObj * gobj)

?

?? tournament uses the user data as just an int it controls various menu jobj states ie animation state, visibility, etc

◆ gm_8018F634()

TmData * gm_8018F634 ( void )

◆ fn_8018F640()

u32 fn_8018F640 ( int arg0)

◆ fn_8018F674()

u32 fn_8018F674 ( int arg0)

◆ fn_8018F6A8()

u32 fn_8018F6A8 ( int arg0)

◆ fn_8018F6DC()

int fn_8018F6DC ( int arg0)

◆ fn_8018F6FC()

CharacterKind fn_8018F6FC ( CSSIconHud arg0)

◆ fn_8018F71C()

float fn_8018F71C ( int arg0,
int arg1 )

returns the frame for the tou css icon?

◆ fn_8018F74C()

int fn_8018F74C ( void )

◆ fn_8018F808()

int fn_8018F808 ( void )

◆ fn_8018F888()

void fn_8018F888 ( void )

◆ fn_8018FA24()

void fn_8018FA24 ( void )

◆ fn_8018FBD8()

void fn_8018FBD8 ( void * arg0,
s32 arg1 )

◆ fn_8018FBE0()

void fn_8018FBE0 ( s32 arg0,
s32 arg1,
s32 arg2,
s8 arg3,
s8 arg4,
s16 arg5,
s8 arg6 )

◆ fn_8018FDC4()

void fn_8018FDC4 ( HSD_JObj * jobj,
float x,
float y,
float z )

◆ fn_8018FF9C()

void fn_8018FF9C ( HSD_JObj * jobj,
float x,
float y,
float z )

◆ fn_80190174()

HSD_GObj * fn_80190174 ( HSD_CObjDesc * cobjdesc)

◆ fn_801901F8()

HSD_GObj * fn_801901F8 ( HSD_CObjDesc * cobjdesc)

◆ fn_8019027C()

void fn_8019027C ( UNK_T lights)

◆ fn_801902F0()

void fn_801902F0 ( int sis_param)

Initializes SIS library text rendering for tournament mode.

◆ fn_8019035C()

HSD_GObj * fn_8019035C ( bool arg0,
DynamicModelDesc * model,
int arg2,
int arg3,
int arg4,
bool arg5,
void(* arg6 )(HSD_GObj *),
f32 arg8 )

◆ fn_8019044C()

void fn_8019044C ( HSD_JObj * jobj,
float arg1 )

◆ fn_80190480()

void fn_80190480 ( float arg8)

◆ fn_801904D0()

void fn_801904D0 ( void )

◆ fn_80190520()

void fn_80190520 ( f32 x,
f32 y,
f32 z )

◆ gm_801905F0_inline0()

int gm_801905F0_inline0 ( int c_kind)
inlinestatic

◆ gm_801905F0()

void gm_801905F0 ( StartMeleeData * arg0)

◆ 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()

void fn_80191240 ( HSD_GObj * gobj)
Todo
Currently 79.85% match - needs register allocation fix

◆ 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 89.68% match - permuter couldn't improve 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 96.8% match - permuter couldn't improve

◆ 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 )

◆ 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 87.58% match - permuter couldn't improve

◆ 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 )
Todo
Currently 96.88% match - needs minor register allocation fix Handles confirm/cancel input for tournament start. Type casts used to match target sth instruction patterns.

◆ 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.

◆ fn_80196510()

void fn_80196510 ( void )

◆ fn_8019655C()

s32 fn_8019655C ( void )

◆ fn_80196564()

bool fn_80196564 ( TmData * arg0)

◆ fn_80196594()

bool fn_80196594 ( TmData * arg0)

◆ fn_801965C4()

void fn_801965C4 ( void )

◆ fn_80196684()

void fn_80196684 ( s32 bracket_idx)

Randomly assigns bracket positions for tournament seeding.

◆ fn_801967E0()

void fn_801967E0 ( s32 arg0)

◆ fn_80196CF8()

s32 fn_80196CF8 ( void )

◆ fn_80196DBC()

void fn_80196DBC ( HSD_GObj * gobj)

Cycles animation frame counter and updates JObj animation.

◆ fn_80196E30()

void fn_80196E30 ( HSD_GObj * gobj)

Updates the tournament UI animation frame counter.

◆ fn_80196EEC()

void fn_80196EEC ( HSD_GObj * gobj)

Tournament mode JObj visibility/animation callback.

◆ fn_80196FFC()

void fn_80196FFC ( HSD_GObj * gobj)

◆ fn_801973F8()

void fn_801973F8 ( HSD_GObj * gobj)

Updates visibility and position of a tournament menu JObj.

◆ fn_801975C8()

void fn_801975C8 ( HSD_GObj * gobj)

Updates visibility of a tournament menu JObj based on current menu state.

◆ fn_801976D4()

void fn_801976D4 ( HSD_GObj * gobj)

Updates visibility and animation of tournament menu JObj.

◆ fn_801977AC()

void fn_801977AC ( HSD_GObj * gobj)

◆ fn_80197AF0()

void fn_80197AF0 ( HSD_GObj * gobj)

◆ fn_80197D4C()

void fn_80197D4C ( HSD_GObj * gobj)

Updates visibility of a menu JObj based on current menu option.

◆ fn_80197E18()

void fn_80197E18 ( HSD_GObj * gobj)
Todo
Currently 69.71% match - needs register allocation fix Updates player HUD element visibility and position.

◆ fn_80197FD8()

void fn_80197FD8 ( HSD_GObj * gobj)
Todo
Currently 70.24% match - needs register allocation fix Updates JObj visibility based on menu option and player state.

◆ fn_801981A0()

void fn_801981A0 ( HSD_GObj * gobj)
Todo
Down to linking Updates player cursor animation and position.

◆ fn_801983E4()

void fn_801983E4 ( HSD_GObj * gobj)

Updates the visibility and position of a player's controller indicator.

◆ fn_80198584()

void fn_80198584 ( ResultsData * results)

◆ fn_801985D4()

void fn_801985D4 ( HSD_GObj * gobj)

◆ fn_80198824()

void fn_80198824 ( HSD_GObj * gobj)

Animates and positions the tournament bracket results overlay JObj.

Uses HSD_JObjSetTranslateZ for visibility, HSD_JObjSetTranslate/SetScale for positioning from lbl_804799D8 cached values.

◆ fn_80198BA0()

void fn_80198BA0 ( void )

Initializes tournament mode match data.

Initializes tournament mode match data structures. Type casts used to match target instruction patterns (stw/sth vs stb).

◆ fn_80198C60()

void fn_80198C60 ( void )
Todo
Currently 99.63% match - permuter couldn't improve (instruction scheduling) Initializes tournament mode text displays.

◆ fn_80198D18()

void fn_80198D18 ( void )

Initializes the scene rendering components for the gm_18A5 game mode.

◆ fn_80198EBC()

void fn_80198EBC ( void )

◆ fn_80199AF0()

void fn_80199AF0 ( void )

◆ fn_8019A158()

void fn_8019A158 ( void )

◆ fn_8019A71C()

void fn_8019A71C ( s32 * state,
u32 unused1,
u32 unused2 )

#fn_8019A158_end

Todo
Currently 98.36% match - needs branch pattern fix (beq+b vs bne)

◆ gm_8019A828()

void gm_8019A828 ( void )

◆ fn_8019A86C()

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

◆ fn_8019AF50()

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

Tournament match timer display/audio state machine.

Handles match countdown, audio transitions, and end conditions.

◆ gm_8019B2DC_OnFrame()

void gm_8019B2DC_OnFrame ( void )
Todo
Currently 89.97% match - permuter couldn't improve Per-frame update for tournament mode menu.

◆ fn_8019B458()

void fn_8019B458 ( s32 * arg0)

Transitions to results screen after a tournament match.

Ranks players, preloads stage/character data, and starts audio.

◆ fn_8019B81C()

void fn_8019B81C ( s32 * state)

Initializes match data and transitions to next state.

Type cast used to match target stw instruction pattern.

◆ fn_8019B860()

void fn_8019B860 ( TmData * tm)

Variable Documentation

◆ lbl_804DA6B4

char* lbl_804DA6B4
extern

◆ lbl_804DA6B8

char* lbl_804DA6B8
extern

◆ lbl_804DA6BC

char* lbl_804DA6BC
extern

◆ lbl_804DA6C0

char* lbl_804DA6C0
extern

◆ lbl_804DA6C4

char* lbl_804DA6C4
extern

◆ lbl_804DA6C8

char* lbl_804DA6C8
extern

◆ lbl_804DA6CC

char* lbl_804DA6CC
extern

◆ lbl_804DA6D0

char* lbl_804DA6D0
extern

◆ lbl_803D9FD8

lbl_803D9FD8_fn lbl_803D9FD8[]
Initial value:
= {
}
void fn_80193B58(s32 *arg0, u32 arg1, u32 arg2)
Definition gm_18A5.c:3879
void fn_8019610C(s32 *state, u32 buttons, u32 trigger)
Definition gm_18A5.c:5121
void fn_801949B4(s32 *arg0, u32 arg1, u32 arg2)
Definition gm_18A5.c:4399
void fn_801937C4(s32 *arg0, u32 arg1, u32 arg2)
Definition gm_18A5.c:3785
void fn_80194F30(s32 *state_ptr, u32 buttons, u32 trigger)
Handles tournament settings menu input (entrant configuration).
Definition gm_18A5.c:4606
void fn_80194BC4(s32 *arg0, u32 arg1, u32 arg2)
Definition gm_18A5.c:4471
void fn_80195AF0(s32 *state_ptr, u32 buttons, u32 trigger)
Definition gm_18A5.c:4935
void fn_80195CCC(s32 *arg, u32 buttons, u32 trigger)
Definition gm_18A5.c:5009
void fn_80193FCC(s32 *arg0, u32 arg1, u32 arg2)
Definition gm_18A5.c:4037
void fn_80194D84(s32 *state, u32 buttons, u32 trigger)
Definition gm_18A5.c:4549
void fn_80194658(s32 *arg0, u32 arg1, u32 arg2)
Definition gm_18A5.c:4280
void fn_801953C8(s32 *state_ptr, u32 buttons, u32 trigger)
Handles character selection input for tournament bracket.
Definition gm_18A5.c:4735
#define NULL
Definition stddef.h:19

◆ lbl_804D6630

s32 lbl_804D6630
extern

◆ lbl_804D6634

s32 lbl_804D6634
extern

◆ lbl_803B7C80

struct lbl_803B7C80_t lbl_803B7C80

◆ lbl_804DA67C

GXColor lbl_804DA67C = { 255, 255, 0, 255 }
static

◆ lbl_804DA684

GXColor lbl_804DA684 = { 255, 255, 0, 255 }
static

◆ col

GXColor col = { 255, 0, 255, 255 }
static

◆ lbl_803B7CA8

CamDesc lbl_803B7CA8
extern

◆ lbl_804D663C

HSD_GObj* lbl_804D663C

◆ lbl_804799B8

struct Lbl804799B8_t lbl_804799B8
static

◆ lbl_803D9F80

u8 lbl_803D9F80
extern

◆ lbl_804DA6FC

f32 lbl_804DA6FC
extern

◆ lbl_804DA700

f32 lbl_804DA700
extern

◆ lbl_804DA704

f32 lbl_804DA704
extern

◆ lbl_804DA708

f32 lbl_804DA708
extern

◆ lbl_804DA70C

f32 lbl_804DA70C
extern

◆ lbl_804799B8_data

u8 lbl_804799B8_data[0x40]
static

◆ lbl_804D6658

s32 lbl_804D6658

◆ lbl_804DA734

f32 lbl_804DA734
extern

◆ lbl_804DA738

f32 lbl_804DA738
extern

◆ lbl_804DA73C

f32 lbl_804DA73C
extern

◆ lbl_804DA740

f32 lbl_804DA740
extern

◆ lbl_804DA744

f32 lbl_804DA744
extern

◆ 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_804DA6E8

f32 lbl_804DA6E8
extern

◆ 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

◆ x0

UNK_T x0

◆ x4

UNK_T x4

◆ x8

UNK_T x8

◆ [struct]

struct { ... } lbl_804771B8

Filename is just a guess, based on some strings in the file Seems to be Tournament game code.

◆ lbl_804799D8

struct Lbl804799D8_t lbl_804799D8
static

◆ lbl_803B7CE0

s32 lbl_803B7CE0[9]
extern

◆ lbl_804DA7E0

f32 lbl_804DA7E0
extern

◆ lbl_804DA7E4

f32 lbl_804DA7E4
extern

◆ lbl_804DA7E8

f32 lbl_804DA7E8
extern

◆ lbl_804DA7EC

f32 lbl_804DA7EC
extern

◆ lbl_804DA7F0

f32 lbl_804DA7F0
extern

◆ lbl_804DA810

f32 lbl_804DA810
extern

◆ lbl_804DA814

f32 lbl_804DA814
extern

◆ lbl_804DA818

f32 lbl_804DA818
extern

◆ lbl_804DA81C

f32 lbl_804DA81C
extern

◆ lbl_804DA820

f32 lbl_804DA820
extern

◆ lbl_804DA824

f32 lbl_804DA824
extern

◆ lbl_804D667C

s32 lbl_804D667C
extern

◆ lbl_804D666C

SceneDesc* lbl_804D666C
extern

◆ lbl_804DA808

f32 lbl_804DA808
extern

◆ lbl_804DA82C

f32 lbl_804DA82C
extern

◆ lbl_804DA830

f32 lbl_804DA830
extern

◆ lbl_804DA834

f32 lbl_804DA834
extern

◆ lbl_804DA838

f32 lbl_804DA838
extern

◆ lbl_804DA83C

f32 lbl_804DA83C
extern

◆ lbl_804DA840

f32 lbl_804DA840
extern

◆ lbl_804D6674

SceneDesc* lbl_804D6674
extern

◆ lbl_804DA828

f32 lbl_804DA828
extern

◆ lbl_804DA844

f32 lbl_804DA844
extern

◆ lbl_804DA848

f32 lbl_804DA848
extern

◆ lbl_804DA84C

f32 lbl_804DA84C
extern

◆ lbl_804DA850

f32 lbl_804DA850
extern

◆ lbl_804DA854

f32 lbl_804DA854
extern

◆ lbl_804DA858

f32 lbl_804DA858
extern

◆ lbl_804DA85C

f32 lbl_804DA85C
extern

◆ lbl_804DA860

f32 lbl_804DA860
extern

◆ lbl_804DA864

f32 lbl_804DA864
extern

◆ lbl_804DA868

f32 lbl_804DA868
extern

◆ lbl_804DA86C

f32 lbl_804DA86C
extern

◆ lbl_804DA870

f32 lbl_804DA870
extern

◆ lbl_804DA874

f32 lbl_804DA874
extern

◆ gm_80477738

MatchEnd gm_80477738
extern

◆ lbl_804D6670

SceneDesc * lbl_804D6670
extern

◆ lbl_804D6678

s32 lbl_804D6678
extern

◆ lbl_804D6680

u8 lbl_804D6680[8]
extern

◆ lbl_803B7D04

u8 lbl_803B7D04[20]
extern