|
SSBM Decomp
|
#include "gm_18A5.h"#include "gm_18A5.static.h"#include "ft/forward.h"#include <sysdolphin/baselib/controller.h>#include <sysdolphin/baselib/dobj.h>#include <sysdolphin/baselib/fog.h>#include <sysdolphin/baselib/gobj.h>#include <sysdolphin/baselib/gobjgxlink.h>#include <sysdolphin/baselib/gobjobject.h>#include <sysdolphin/baselib/gobjproc.h>#include <sysdolphin/baselib/jobj.h>#include <sysdolphin/baselib/mobj.h>#include <sysdolphin/baselib/particle.h>#include <sysdolphin/baselib/random.h>#include <melee/gm/gm_1601.h>#include <melee/gm/gm_unsplit.h>#include <melee/gm/gmmain_lib.h>#include <melee/gm/gmtou.h>#include <melee/lb/lb_00F9.h>#include <melee/lb/lbarchive.h>#include <melee/lb/lbaudio_ax.h>#include <melee/lb/lblanguage.h>#include <melee/mn/mnmain.h>#include <melee/mn/mnmainrule.h>#include <melee/mn/mnname.h>#include <melee/mn/mnnamenew.h>#include <melee/mn/mnstagesel.h>#include <melee/pl/player.h>Typedefs | |
| typedef void(* | lbl_803D9FD8_fn) (s32 *, u32, u32) |
Functions | |
| void | fn_8018A970 (int arg0) |
| fn_8018A514 | |
| void | fn_8018E46C (HSD_GObj *gobj, int unused) |
| fn_8018AA74 | |
| void | fn_8018EC48 (void) |
| fn_8018E618 | |
| void | fn_8018EC7C (void) |
| void | fn_8018F00C (char *dest, s32 slot_id) |
| fn_8018ECA8 | |
| s32 | gm_8018F1B0 (MatchEnd *me) |
| int | fn_8018F310 (int arg0) |
| u8 | 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) |
| ??? tournament uses the user data as just an int it controls various menu jobj states ie animation state, visibility, etc | |
| TmData * | gm_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_8018FDC4 (HSD_JObj *jobj, float x, float y, float z) |
| fn_8018FBE0 | |
| void | fn_8018FF9C (HSD_JObj *jobj, float x, float y, float z) |
| HSD_GObj * | fn_80190174 (HSD_CObjDesc *cobjdesc) |
| HSD_GObj * | fn_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_GObj * | fn_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 | gm_80190EA4 (void) |
| fn_80190ABC | |
| void | fn_801910E0 (HSD_GObj *gobj) |
| Initializes the time menu state when entering the time selection screen. | |
| void | fn_80191154 (HSD_GObj *gobj) |
| void | fn_80191240 (HSD_GObj *gobj) |
| void | fn_80191678 (HSD_GObj *gobj) |
| fn_801913BC | |
| void | fn_8019175C (void *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_8019249C (HSD_GObj *gobj) |
| GObj callback for tournament bracket slot UI elements. | |
| void | fn_80192690 (HSD_GObj *gobj) |
| void | fn_80192758 (HSD_GObj *gobj) |
| void | fn_80193230 (void) |
| fn_80192938 | |
| 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_80195AF0 (s32 *state_ptr, u32 buttons, u32 trigger) |
| void | fn_8019610C (s32 *state, u32 buttons, u32 trigger) |
| fn_80195CCC | |
| 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. | |
| s32 | fn_8019655C (void) |
| fn_80196510 | |
| bool | fn_80196564 (TmData *arg0) |
| bool | fn_80196594 (TmData *arg0) |
| void | fn_801965C4 (void) |
| void | fn_80196684 (s32 bracket_idx) |
| 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_801975C8 (HSD_GObj *gobj) |
| fn_80196FFC | |
| void | fn_801976D4 (HSD_GObj *gobj) |
| Updates visibility and animation of tournament menu JObj. | |
| void | fn_80197D4C (HSD_GObj *gobj) |
| fn_801977AC | |
| void | fn_80197E18 (HSD_GObj *gobj) |
| void | fn_80197FD8 (HSD_GObj *gobj) |
| void | fn_801981A0 (HSD_GObj *gobj) |
| void | fn_80198584 (ResultsData *results) |
| Updates the visibility and position of a player's controller indicator. | |
| void | fn_80198BA0 (void) |
| fn_801985D4 | |
| void | fn_80198C60 (void) |
| void | fn_8019A71C (s32 *state) |
| Initializes the scene rendering components for the gm_18A5 game mode. | |
| void | gm_8019A828 (void) |
| void | gm_8019B2DC_OnFrame (void) |
| fn_8019A86C | |
| void | fn_8019B81C (s32 *state) |
| fn_8019B458 | |
| void | fn_8019B860 (TmData *tm) |
Variables | ||
| char * | lbl_804DA6C4 | |
| char * | lbl_804DA6C8 | |
| char * | lbl_804DA6CC | |
| char * | lbl_804DA6D0 | |
| lbl_803D9FD8_fn | lbl_803D9FD8 [] | |
| static HSD_GObj * | lbl_804D663C | |
| struct { | ||
| u8 pad [0xC] | ||
| u16 xC_counter | ||
| u8 xE | ||
| u8 xF | ||
| u8 pad2 [0x10] | ||
| } | lbl_804799B8 | |
| static u8 | lbl_804799B8_data [0x40] | |
| static s32 | lbl_804D6658 | |
| u8 | lbl_803D9F80 [] | |
| fn_80193308 | ||
| static s32 | lbl_804D6654 | |
| fn_80194F30 | ||
| 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 s32 | lbl_804D4194 = -1 | |
| u8 | lbl_803DA0D0 [] | |
| fn_801967E0 | ||
| union { | ||
| u8 x0 [0x80] | ||
| struct { | ||
| u8 _pad1 [0x10] | ||
| u16 x10 | ||
| u8 _pad2 [0x8] | ||
| u8 x1A | ||
| u8 x1B | ||
| u8 x1C | ||
| } | ||
| } | lbl_804799D8 | |
| SceneDesc * | lbl_804D666C | |
| s32 | lbl_804D6678 | |
| SceneDesc * | lbl_804D6670 | |
| typedef void(* lbl_803D9FD8_fn) (s32 *, u32, u32) |
| void fn_8018A970 | ( | int | arg0 | ) |
| void fn_8018E46C | ( | HSD_GObj * | gobj, |
| int | unused | ||
| ) |
fn_8018B090 fn_8018C8D4 fn_8018D50C fn_8018DC18 fn_8018DF68
| void fn_8018EC48 | ( | void | ) |
| void fn_8018EC7C | ( | void | ) |
| void fn_8018F00C | ( | char * | dest, |
| s32 | slot_id | ||
| ) |
Formats a tournament slot display name into a destination buffer.
| int fn_8018F310 | ( | int | arg0 | ) |
| int fn_8018F3D0 | ( | int | arg0 | ) |
| int fn_8018F410 | ( | void | ) |
| int fn_8018F4A0 | ( | void | ) |
Counts available tournament slots and returns the last found index.
| char * fn_8018F5F0 | ( | void | ) |
| 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
| TmData * gm_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_8018FDC4 | ( | HSD_JObj * | jobj, |
| float | x, | ||
| float | y, | ||
| float | z | ||
| ) |
| void fn_8018FF9C | ( | HSD_JObj * | jobj, |
| float | x, | ||
| float | y, | ||
| float | z | ||
| ) |
| HSD_GObj * fn_80190174 | ( | HSD_CObjDesc * | cobjdesc | ) |
| HSD_GObj * fn_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_GObj * fn_8019035C | ( | bool | arg0, |
| DynamicModelDesc * | model, | ||
| int | arg2, | ||
| int | arg3, | ||
| int | arg4, | ||
| bool | arg5, | ||
| void(*)(HSD_GObj *) | arg6, | ||
| 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 | ||
| ) |
|
inlinestatic |
| void gm_801905F0 | ( | StartMeleeData * | arg0 | ) |
| void gm_80190EA4 | ( | void | ) |
| void fn_801910E0 | ( | HSD_GObj * | gobj | ) |
Initializes the time menu state when entering the time selection screen.
| void fn_80191154 | ( | HSD_GObj * | gobj | ) |
| void fn_80191678 | ( | HSD_GObj * | gobj | ) |
Updates the visibility and animation state of a Tournament Mode menu option.
| void fn_8019175C | ( | void * | 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_8019249C | ( | HSD_GObj * | gobj | ) |
GObj callback for tournament bracket slot UI elements.
fn_80191D38 Updates visibility and position of a tournament bracket player entry JObj. fn_80191E9C fn_80191FD4 Updates tournament menu cursor JObj visibility and position. fn_8019237C
| void fn_80192690 | ( | HSD_GObj * | gobj | ) |
| void fn_80193230 | ( | void | ) |
| 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_80195AF0 | ( | s32 * | state_ptr, |
| 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.
| s32 fn_8019655C | ( | void | ) |
| void fn_801965C4 | ( | void | ) |
| void fn_80196684 | ( | s32 | bracket_idx | ) |
| 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_801975C8 | ( | HSD_GObj * | gobj | ) |
Updates visibility and position of a tournament menu JObj. fn_801973F8 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_80197D4C | ( | HSD_GObj * | gobj | ) |
fn_80197AF0 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_80198584 | ( | ResultsData * | results | ) |
Updates the visibility and position of a player's controller indicator.
| void fn_80198BA0 | ( | void | ) |
fn_80198824 Initializes tournament mode match data. Initializes tournament mode match data structures. Type casts used to match target instruction patterns (stw/sth vs stb).
| void fn_80198C60 | ( | void | ) |
| void fn_8019A71C | ( | s32 * | state | ) |
Initializes the scene rendering components for the gm_18A5 game mode.
fn_80198D18 fn_80198EBC fn_80199AF0 fn_8019A158
| void gm_8019A828 | ( | void | ) |
| void gm_8019B2DC_OnFrame | ( | void | ) |
| void fn_8019B81C | ( | s32 * | state | ) |
Initializes match data and transitions to next state. Type cast used to match target stw instruction pattern.
| void fn_8019B860 | ( | TmData * | tm | ) |
|
extern |
|
extern |
|
extern |
|
extern |
| lbl_803D9FD8_fn lbl_803D9FD8[] |
|
static |
| u8 pad[0xC] |
| u16 xC_counter |
| u8 xE |
| u8 xF |
| u8 pad2[0x10] |
| struct { ... } lbl_804799B8 |
|
static |
|
static |
|
extern |
|
static |
| u8 x0[0x80] |
| UNK_T x4 |
| UNK_T x8 |
| struct { ... } lbl_804771B8 |
Filename is just a guess, based on some strings in the file Seems to be Tournament game code.
|
static |
|
extern |
| u8 _pad1[0x10] |
| u16 x10 |
| u8 _pad2[0x8] |
| u8 x1A |
| u8 x1B |
| u8 x1C |
| union { ... } lbl_804799D8 |
|
extern |
| s32 lbl_804D6678 |
|
extern |