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

Go to the source code of this file.

Functions

void fn_8018A514 (int, float)
void fn_8018A970 (int)
void fn_8018AA74 (HSD_JObj *, s32, s32)
void fn_8018B090 (HSD_GObj *)
void fn_8018C8D4 (void *, s32, s32, s32, s32, s32, s32, f32)
 Draws tournament bracket lines for different bracket types (0-3).
void fn_8018D50C (void *, s32, s32, s32, s32, s32, s32, f32)
 Draws tournament bracket connector lines with optional tail segments.
void fn_8018DC18 (void *, s32, s32, s32, s32, s32, s32, f32)
void fn_8018DF68 (void *, s32, s32, s32, s32, s32, s32, f32)
void fn_8018E46C (HSD_GObj *, int)
void fn_8018E618 (int, int, float)
void fn_8018E85C (DynamicModelDesc *, s32)
UNK_RET fn_8018EC48 (UNK_PARAMS)
UNK_RET fn_8018EC7C (UNK_PARAMS)
void fn_8018ECA8 (s32, s32, s32, f32, f32, s32)
void fn_8018F00C (char *, s32)
 Formats a tournament slot display name into a destination buffer.
s32 gm_8018F1B0 (MatchEnd *me)
int fn_8017F294 (void)
int fn_8018F310 (int)
int fn_8018F3BC (s32 arg0)
int fn_8018F3D0 (int)
int fn_8018F410 (void)
int fn_8018F4A0 (void)
 fn_8018F410
s32 fn_8018F508 (s32 *arg0)
 Counts available tournament slots and returns the last found index.
char * fn_8018F5F0 (void)
u32 fn_8018F62C (HSD_GObj *)
 ?
TmDatagm_8018F634 (void)
u32 fn_8018F640 (int)
u32 fn_8018F674 (int)
u32 fn_8018F6A8 (int)
int fn_8018F6DC (int)
CharacterKind fn_8018F6FC (CSSIconHud)
float fn_8018F71C (int, int)
 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 (UNK_T arg0, s32 arg1)
void fn_8018FBE0 (s32, s32, s32, s8, s8, s16, s8)
void fn_8018FDC4 (HSD_JObj *, float x, float y, float z)
void fn_8018FF9C (HSD_JObj *, float x, float y, float z)
HSD_GObjfn_80190174 (HSD_CObjDesc *)
HSD_GObjfn_801901F8 (HSD_CObjDesc *)
void fn_8019027C (UNK_T lights)
void fn_801902F0 (int arg0)
 Initializes SIS library text rendering for tournament mode.
HSD_GObjfn_8019035C (bool, DynamicModelDesc *, int, int, int, bool, void(*)(HSD_GObj *), float)
void fn_8019044C (HSD_JObj *, float)
void fn_80190480 (float)
UNK_RET fn_801904D0 (UNK_PARAMS)
void fn_80190520 (float x, float y, float z)
void gm_801905F0 (StartMeleeData *)
void fn_80190ABC (int)
void gm_80190EA4 (void)
void gm_80190FE4 (int)
 Initializes the time menu state when entering the time selection screen.
void fn_801910E0 (HSD_GObj *)
void fn_80191154 (HSD_GObj *)
void fn_80191240 (HSD_GObj *)
void fn_801913BC (HSD_GObj *)
 Updates text visibility and menu state for tournament bracket options.
void fn_80191678 (HSD_GObj *)
 Updates the visibility and animation state of a Tournament Mode menu option.
void fn_8019175C (HSD_GObj *)
void fn_801918F0 (HSD_GObj *)
 Updates visibility and animation frame of a Training Mode HUD element.
void fn_80191A54 (HSD_GObj *)
 Updates the tournament bracket display visibility and animation.
void fn_80191B5C (void *arg0)
 Updates button highlight animation based on current menu option.
void fn_80191CA4 (HSD_GObj *)
 Updates JObj visibility based on current menu option selection.
void fn_80191D38 (HSD_GObj *)
 GObj callback for tournament bracket slot UI elements.
void fn_80191E9C (HSD_GObj *)
 Updates visibility and position of a tournament bracket player entry JObj.
void fn_80191FD4 (HSD_GObj *)
void fn_8019237C (HSD_GObj *)
 Updates tournament menu cursor JObj visibility and position.
void fn_8019249C (HSD_GObj *)
void fn_80192690 (HSD_GObj *)
void fn_80192758 (HSD_GObj *)
s32 fn_80192938 (void)
void fn_80192BB0 (void)
void fn_80192E6C (void)
UNK_RET fn_80193230 (UNK_PARAMS)
void fn_80193308 (void)
UNK_RET fn_801935B8 (UNK_PARAMS)
void fn_801937C4 (s32 *arg, u32 arg0, u32 arg01)
void fn_80193B58 (s32 *arg, u32 arg0, u32 arg01)
void fn_80193FCC (s32 *arg, u32 arg0, u32 arg01)
void fn_80194658 (s32 *arg, u32 arg0, u32 arg01)
void fn_801949B4 (s32 *arg, u32 arg0, u32 arg01)
void fn_80194BC4 (s32 *arg, u32 arg0, u32 arg01)
void fn_80194D84 (s32 *arg, u32 arg0, u32 arg01)
void fn_80194F30 (s32 *arg, u32 arg0, u32 arg01)
 Handles tournament settings menu input (entrant configuration).
void fn_801953C8 (s32 *arg, u32 arg0, u32 arg01)
 Handles character selection input for tournament bracket.
void fn_80195AF0 (s32 *arg, u32 arg0, u32 arg01)
void fn_80195CCC (s32 *arg, u32 arg0, u32 arg01)
void fn_8019610C (s32 *arg, u32 arg0, u32 arg01)
void gm_8019628C_OnFrame (void)
 Tournament Mode per-frame update handler.
void gm_801963B4_OnEnter (UNK_T)
void gm_801964A4_OnLeave (UNK_T)
 Scene OnLeave callback for gm_18A5. Frees archive resources.
void fn_80196510 (void)
s32 fn_8019655C (void)
bool fn_80196564 (TmData *)
bool fn_80196594 (TmData *)
void fn_801965C4 (void)
void fn_80196684 (s32 arg0)
 Randomly assigns bracket positions for tournament seeding.
void fn_801967E0 (s32)
s32 fn_80196CF8 (void)
void fn_80196DBC (HSD_GObj *)
 Cycles animation frame counter and updates JObj animation.
void fn_80196E30 (HSD_GObj *)
 Updates the tournament UI animation frame counter.
void fn_80196EEC (HSD_GObj *)
 Tournament mode JObj visibility/animation callback.
void fn_80196FFC (HSD_GObj *gobj)
void fn_801973F8 (HSD_GObj *)
 Updates visibility and position of a tournament menu JObj.
void fn_801975C8 (HSD_GObj *)
 Updates visibility of a tournament menu JObj based on current menu state.
void fn_801976D4 (HSD_GObj *)
 Updates visibility and animation of tournament menu JObj.
void fn_801977AC (HSD_GObj *)
void fn_80197AF0 (HSD_GObj *gobj)
void fn_80197D4C (HSD_GObj *)
 Updates visibility of a menu JObj based on current menu option.
void fn_80197E18 (HSD_GObj *)
void fn_80197FD8 (HSD_GObj *)
void fn_801981A0 (HSD_GObj *)
void fn_801983E4 (HSD_GObj *)
 Updates the visibility and position of a player's controller indicator.
void fn_80198584 (ResultsData *)
void fn_801985D4 (HSD_GObj *gobj)
void fn_80198824 (HSD_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.
UNK_RET fn_80198EBC (UNK_PARAMS)
void fn_80199AF0 (void)
void fn_8019A158 (void)
void fn_8019A71C (s32 *arg0, u32 arg1, u32 arg2)
 #fn_8019A158_end
void gm_8019A828 (void)
void fn_8019A86C (s32 *, u32, u32)
void fn_8019AF50 (s32 *, u32, u32)
 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 *arg0)
 Initializes match data and transitions to next state.
void fn_8019B860 (TmData *)

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 ,
int ,
float  )

◆ fn_8018E85C()

void fn_8018E85C ( DynamicModelDesc * model,
s32 flag )

◆ fn_8018EC48()

UNK_RET fn_8018EC48 ( UNK_PARAMS )

◆ fn_8018EC7C()

UNK_RET fn_8018EC7C ( UNK_PARAMS )

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

int fn_8017F294 ( void )

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

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 ( UNK_T 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 arg0)

Initializes SIS library text rendering for tournament mode.

◆ fn_8019035C()

HSD_GObj * fn_8019035C ( bool ,
DynamicModelDesc * ,
int ,
int ,
int ,
bool ,
void(*  )(HSD_GObj *),
float  )

◆ fn_8019044C()

void fn_8019044C ( HSD_JObj * jobj,
float arg1 )

◆ fn_80190480()

void fn_80190480 ( float arg8)

◆ fn_801904D0()

UNK_RET fn_801904D0 ( UNK_PARAMS )

◆ fn_80190520()

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

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

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

UNK_RET fn_80193230 ( UNK_PARAMS )

◆ fn_80193308()

void fn_80193308 ( void )

◆ fn_801935B8()

UNK_RET fn_801935B8 ( UNK_PARAMS )

◆ fn_801937C4()

void fn_801937C4 ( s32 * arg,
u32 arg0,
u32 arg01 )

◆ fn_80193B58()

void fn_80193B58 ( s32 * arg,
u32 arg0,
u32 arg01 )

◆ fn_80193FCC()

void fn_80193FCC ( s32 * arg,
u32 arg0,
u32 arg01 )

◆ fn_80194658()

void fn_80194658 ( s32 * arg,
u32 arg0,
u32 arg01 )

◆ 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 * arg,
u32 arg0,
u32 arg01 )

Handles tournament settings menu input (entrant configuration).

◆ fn_801953C8()

void fn_801953C8 ( s32 * arg,
u32 arg0,
u32 arg01 )

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 arg0,
u32 arg01 )

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

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

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

UNK_RET fn_80198EBC ( UNK_PARAMS )

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