SSBM Decomp
Loading...
Searching...
No Matches
gmresult.h File Reference
#include <placeholder.h>
#include "baselib/forward.h"
#include "dolphin/gx/GXStruct.h"
#include "gm/forward.h"
#include <dolphin/mtx.h>

Go to the source code of this file.

Functions

MatchEndfn_80174274 (void)
 
s32 fn_80174284 (u8)
 
void fn_80174338 (void)
 
void fn_8017435C (void)
 
void fn_80174380 (void)
 
bool gm_801743A4 (u8)
 
bool fn_801743C4 (s32, struct StatsEntry *)
 
void fn_80174468 (u8 slot, HSD_Text *text1, HSD_Text *text2, HSD_Text *text3, struct StatsList *list, s32 entry_idx)
 
void * fn_801748EC (void *, s32, s32)
 
void fn_80174920 (struct ResultsPlayerData *data)
 
void fn_801749B8 (HSD_GObj *)
 
u8 fn_80174A60 (struct StatsList *, s32)
 
void fn_80174B4C (struct ResultsData *, s32)
 
void fn_80174FD0 (HSD_JObj *, s32)
 
void fn_80175038 (HSD_GObj *, int)
 
GXColor fn_8017507C (s32)
 
void fn_80175240 (s32)
 
void fn_8017556C (s32)
 
void fn_801756E0 (s32)
 
void fn_80175880 (s32)
 
void fn_80175A94 (s32, Vec3 *)
 
void fn_80175C5C (void)
 
void fn_80175D34 (void)
 
void fn_80175DC8 (HSD_GObj *)
 Initialize results screen panel and UI elements This is a very complex function (~800 lines) that:
 
void fn_80176A6C (void)
 
void fn_80176BCC (HSD_GObj *)
 
HSD_JObjfn_80176BF0 (HSD_JObj *, u8, int)
 
void fn_80176D18 (HSD_GObj *)
 
UNK_RET fn_80176D3C (Vec3 *)
 
UNK_RET fn_80176F60 (UNK_PARAMS)
 
UNK_RET fn_801771C0 (ResultsData *)
 
void gm_80177368_OnEnter (void *)
 
void gm_80177704_OnLeave (void *)
 

Function Documentation

◆ fn_80174274()

MatchEnd * fn_80174274 ( void  )

◆ fn_80174284()

s32 fn_80174284 ( u8  slot)

◆ fn_80174338()

void fn_80174338 ( void  )

◆ fn_8017435C()

void fn_8017435C ( void  )

◆ fn_80174380()

void fn_80174380 ( void  )

◆ gm_801743A4()

bool gm_801743A4 ( u8  outcome)

◆ fn_801743C4()

bool fn_801743C4 ( s32  slot,
struct StatsEntry entry 
)

◆ fn_80174468()

void fn_80174468 ( u8  slot,
HSD_Text text1,
HSD_Text text2,
HSD_Text text3,
struct StatsList list,
s32  entry_idx 
)

Mode 2: special handling for pairs

◆ fn_801748EC()

void * fn_801748EC ( void *  list_,
s32  mode,
s32  idx 
)

◆ fn_80174920()

void fn_80174920 ( struct ResultsPlayerData data)

◆ fn_801749B8()

void fn_801749B8 ( HSD_GObj unused)

◆ fn_80174A60()

u8 fn_80174A60 ( struct StatsList list,
s32  slot 
)

◆ fn_80174B4C()

void fn_80174B4C ( struct ResultsData data,
s32  slot 
)

Clear existing stats text

Look up stats list

Set flags

Count visible entries

Set more flags based on scroll position

Create text objects for visible entries

◆ fn_80174FD0()

void fn_80174FD0 ( HSD_JObj jobj,
s32  arg1 
)

◆ fn_80175038()

void fn_80175038 ( HSD_GObj gobj,
int  flag 
)

◆ fn_8017507C()

GXColor fn_8017507C ( s32  slot)

◆ fn_80175240()

void fn_80175240 ( s32  slot)

maybe x4C is an array of Vec2's

◆ fn_8017556C()

void fn_8017556C ( s32  slot)

◆ fn_801756E0()

void fn_801756E0 ( s32  slot)

◆ fn_80175880()

void fn_80175880 ( s32  slot)

◆ fn_80175A94()

void fn_80175A94 ( s32  slot,
Vec3 *  position 
)

◆ fn_80175C5C()

void fn_80175C5C ( void  )

◆ fn_80175D34()

void fn_80175D34 ( void  )

<

Todo:
:: why does this have so much stack space

◆ fn_80175DC8()

void fn_80175DC8 ( HSD_GObj gobj)

Initialize results screen panel and UI elements This is a very complex function (~800 lines) that:

  • Loads joint objects from scene data
  • Sets up GX link callbacks
  • Initializes player stats UI elements
  • Creates HSD_Text objects for scores/times NOTE: This implementation is a best-effort attempt, likely not matching

fn_80179F84 takes temp_jobj but is declared as UNK_PARAMS

The rest of the function has complex switch statements for each player slot (0-3) loading many joints and text objects This would require ~700 more lines of code to match exactly

◆ fn_80176A6C()

void fn_80176A6C ( void  )

◆ fn_80176BCC()

void fn_80176BCC ( HSD_GObj gobj)

◆ fn_80176BF0()

HSD_JObj * fn_80176BF0 ( HSD_JObj arg0,
u8  arg1,
int  arg2 
)

◆ fn_80176D18()

void fn_80176D18 ( HSD_GObj gobj)

◆ fn_80176D3C()

UNK_RET fn_80176D3C ( Vec3 *  positions)

◆ fn_80176F60()

UNK_RET fn_80176F60 ( UNK_PARAMS  )

◆ fn_801771C0()

UNK_RET fn_801771C0 ( ResultsData data)

◆ gm_80177368_OnEnter()

void gm_80177368_OnEnter ( void *  arg0_)

◆ gm_80177704_OnLeave()

void gm_80177704_OnLeave ( void *  unused)