SSBM Decomp
Loading...
Searching...
No Matches
gm_16A2.c File Reference
#include "gm_16A2.h"
#include <stddef.h>
#include "gm_unsplit.h"
#include <melee/gr/ground.h>
#include <melee/gr/stage.h>
#include <melee/if/ifnametag.h>
#include <melee/if/ifstatus.h>
#include <melee/lb/lb_00B0.h>
#include <melee/pl/player.h>
#include <sysdolphin/baselib/random.h>

Data Structures

struct  gm_8016A22C_header
struct  lbl_8046B488_event_player_init_cb_t

Typedefs

typedef void(* GmEventPlayerInitCallback) (s32 slot, u8 remaining_count)

Functions

 ASSERT_SIZE (struct lbl_8046B488_event_player_init_cb_t, 0x1C0)
struct lbl_8046B488_tgm_1601_GetUnkData (void)
s8 gm_80169370 (s32 arg0)
int gm_80169384 (void)
s32 gm_80169394 (void)
s32 fn_801693A8 (void)
bool gm_801693BC (int arg0)
 Player is Fighting Wireframe.
void fn_80169434 (GmRouteCallback fn)
bool fn_80169444 (bool arg0)
int gm_801694A0 (HSD_GObj *arg0)
UNK_T gm_80169520 (void)
UNK_T gm_80169530 (void)
UNK_T gm_80169540 (void)
void fn_80169550 (int slot)
void fn_80169574 (ssize_t size, s8 *buf)
static s8fn_801695BC_rand_color (s32 ncolors, s8 *colors)
void fn_801695BC (u8 arg0, u8 arg1, u8 arg2, const u8 *arg3, s8 *arg4)
void fn_801697FC (s8 character, s8 costume, s8 new_character, s8 new_costume, s8 *buf)
void fn_8016989C (u8 *arg0, u8 arg1, u8 arg2, u8 *arg3, s8 *arg4)
void fn_80169900 (u8 arg0, struct lbl_8046B488_t *arg1, s8 *arg2, s8 *arg3)
void fn_80169A84 (u8 arg0, s8 *arg1, s8 *arg2)
static struct lbl_8046B488_tfn_80169C54_inline (void)
void fn_80169C54 (s8 arg0, s8 arg1)
static void fn_80169F50_inline (s8 costume, struct lbl_8046B488_t *gp, int character)
void fn_80169F50 (s8 arg0, s8 arg1)
void fn_8016A09C (void)
void gm_8016A164 (void)
s32 fn_8016A1E4 (void)
bool gm_8016A1F8 (void)
void gm_8016A21C (StartMeleeRules *arg0)
static GmEventPlayerInitCallbackgm_8016A404_event_player_init_cb (struct lbl_8046B488_t *gp)
static struct gm_8016A22C_header * gm_8016A22C_header (struct lbl_8046B488_t *gp)
void gm_8016A22C (s8 k0, s8 k1, s8 k2, u8 a3, u8 a4, u8 a5, int mode, int a7, u8 color, u8 p87, u8 p8b, int x6, int x7, int x9, int xA, int flag2, int flag1, f32 f1, f32 f2)
void gm_8016A404 (s32 arg0)
void gm_8016A414 (f32 arg8)
void gm_8016A424 (s8 arg0)
void gm_8016A434 (void)
void fn_8016A450 (void)
void fn_8016A46C (void)
void fn_8016A488 (int arg0)
static int getSpawnPointIndex (int spawn_slot)
static f32 fn_8016A4C8_attack_ratio (void)
static int roll_cpu_type (void)
static s8 findMatchingController (int spawn_slot, int costume_id)
void fn_8016A4C8 (void)
void gm_8016A92C (StartMeleeRules *arg0)
bool gm_8016A944 (void)
UNK_T gm_8016A97C (void)
struct lbl_8046B668_tgm_8016A98C (void)
int gm_8016A998 (s8 arg0, s8 arg1)
int gm_8016A9E8 (u8 arg0, s8 arg1)
bool gm_8016AC44 (s8 ckind, s8 costume_id)

Variables

static struct lbl_8046B488_t lbl_8046B488
static struct lbl_8046B668_t lbl_8046B668

Typedef Documentation

◆ GmEventPlayerInitCallback

typedef void(* GmEventPlayerInitCallback) (s32 slot, u8 remaining_count)

Function Documentation

◆ ASSERT_SIZE()

ASSERT_SIZE ( struct lbl_8046B488_event_player_init_cb_t ,
0x1C0  )

◆ gm_1601_GetUnkData()

struct lbl_8046B488_t * gm_1601_GetUnkData ( void )

◆ gm_80169370()

s8 gm_80169370 ( s32 arg0)

◆ gm_80169384()

int gm_80169384 ( void )

◆ gm_80169394()

s32 gm_80169394 ( void )

◆ fn_801693A8()

s32 fn_801693A8 ( void )

◆ gm_801693BC()

bool gm_801693BC ( int arg0)

Player is Fighting Wireframe.

◆ fn_80169434()

void fn_80169434 ( GmRouteCallback fn)

◆ fn_80169444()

bool fn_80169444 ( bool arg0)

◆ gm_801694A0()

int gm_801694A0 ( HSD_GObj * arg0)

◆ gm_80169520()

UNK_T gm_80169520 ( void )

◆ gm_80169530()

UNK_T gm_80169530 ( void )

◆ gm_80169540()

UNK_T gm_80169540 ( void )

◆ fn_80169550()

void fn_80169550 ( int slot)

◆ fn_80169574()

void fn_80169574 ( ssize_t size,
s8 * buf )

◆ fn_801695BC_rand_color()

s8 * fn_801695BC_rand_color ( s32 ncolors,
s8 * colors )
inlinestatic

◆ fn_801695BC()

void fn_801695BC ( u8 arg0,
u8 arg1,
u8 arg2,
const u8 * arg3,
s8 * arg4 )

◆ fn_801697FC()

void fn_801697FC ( s8 character,
s8 costume,
s8 new_character,
s8 new_costume,
s8 * buf )

◆ fn_8016989C()

void fn_8016989C ( u8 * arg0,
u8 arg1,
u8 arg2,
u8 * arg3,
s8 * arg4 )

◆ fn_80169900()

void fn_80169900 ( u8 arg0,
struct lbl_8046B488_t * arg1,
s8 * arg2,
s8 * arg3 )

◆ fn_80169A84()

void fn_80169A84 ( u8 arg0,
s8 * arg1,
s8 * arg2 )

◆ fn_80169C54_inline()

struct lbl_8046B488_t * fn_80169C54_inline ( void )
inlinestatic

◆ fn_80169C54()

void fn_80169C54 ( s8 arg0,
s8 arg1 )

◆ fn_80169F50_inline()

void fn_80169F50_inline ( s8 costume,
struct lbl_8046B488_t * gp,
int character )
inlinestatic

◆ fn_80169F50()

void fn_80169F50 ( s8 arg0,
s8 arg1 )

◆ fn_8016A09C()

void fn_8016A09C ( void )

◆ gm_8016A164()

void gm_8016A164 ( void )
Todo
Offset mismatch indicates a TU split between lbl_8046B378 and lbl_8046B488

◆ fn_8016A1E4()

s32 fn_8016A1E4 ( void )

◆ gm_8016A1F8()

bool gm_8016A1F8 ( void )

◆ gm_8016A21C()

void gm_8016A21C ( StartMeleeRules * arg0)

◆ gm_8016A404_event_player_init_cb()

GmEventPlayerInitCallback * gm_8016A404_event_player_init_cb ( struct lbl_8046B488_t * gp)
inlinestatic

◆ gm_8016A22C_header()

struct gm_8016A22C_header * gm_8016A22C_header ( struct lbl_8046B488_t * gp)
inlinestatic

◆ gm_8016A22C()

void gm_8016A22C ( s8 k0,
s8 k1,
s8 k2,
u8 a3,
u8 a4,
u8 a5,
int mode,
int a7,
u8 color,
u8 p87,
u8 p8b,
int x6,
int x7,
int x9,
int xA,
int flag2,
int flag1,
f32 f1,
f32 f2 )

◆ gm_8016A404()

void gm_8016A404 ( s32 arg0)

◆ gm_8016A414()

void gm_8016A414 ( f32 arg8)

◆ gm_8016A424()

void gm_8016A424 ( s8 arg0)

◆ gm_8016A434()

void gm_8016A434 ( void )

◆ fn_8016A450()

void fn_8016A450 ( void )

◆ fn_8016A46C()

void fn_8016A46C ( void )

◆ fn_8016A488()

void fn_8016A488 ( int arg0)

◆ getSpawnPointIndex()

int getSpawnPointIndex ( int spawn_slot)
inlinestatic

◆ fn_8016A4C8_attack_ratio()

f32 fn_8016A4C8_attack_ratio ( void )
inlinestatic

◆ roll_cpu_type()

int roll_cpu_type ( void )
inlinestatic

◆ findMatchingController()

s8 findMatchingController ( int spawn_slot,
int costume_id )
inlinestatic

◆ fn_8016A4C8()

void fn_8016A4C8 ( void )

◆ gm_8016A92C()

void gm_8016A92C ( StartMeleeRules * arg0)

◆ gm_8016A944()

bool gm_8016A944 ( void )

◆ gm_8016A97C()

UNK_T gm_8016A97C ( void )

◆ gm_8016A98C()

struct lbl_8046B668_t * gm_8016A98C ( void )

◆ gm_8016A998()

int gm_8016A998 ( s8 arg0,
s8 arg1 )

◆ gm_8016A9E8()

int gm_8016A9E8 ( u8 arg0,
s8 arg1 )

◆ gm_8016AC44()

bool gm_8016AC44 ( s8 ckind,
s8 costume_id )

Variable Documentation

◆ lbl_8046B488

struct lbl_8046B488_t lbl_8046B488
static

◆ lbl_8046B668

struct lbl_8046B668_t lbl_8046B668
static