Decompile func00016784

This commit is contained in:
Ryan Dwyer 2021-09-05 21:41:23 +10:00
parent 05d4b83776
commit 144fbcec73
3 changed files with 6 additions and 10 deletions

View File

@ -19,7 +19,7 @@ void func000166dc(struct coord *pos, Mtxf *matrix);
u32 func00016710(void);
void func00016748(f32 arg0);
u32 func00016760(void);
u32 func00016784(void);
void func00016784(void);
void func00016798(Mtxf *arg0, Mtxf *arg1);
void func00016820(Mtx *arg0, Mtx *arg1);
void func00016874(Mtxf *matrix, f32 posx, f32 posy, f32 posz, f32 lookx, f32 looky, f32 lookz, f32 upx, f32 upy, f32 upz);

View File

@ -246,7 +246,7 @@ struct g_vars {
/*000504*/ u32 unk000504;
/*000508*/ u32 unk000508;
/*00050c*/ u32 unk00050c;
/*000510*/ u32 unk000510;
/*000510*/ f32 unk000510;
/*000514*/ u32 unk000514;
/*000518*/ u32 unk000518;
/*00051c*/ u32 unk00051c;

View File

@ -400,14 +400,10 @@ glabel func00016760
/* 16780: e4460000 */ swc1 $f6,0x0($v0)
);
GLOBAL_ASM(
glabel func00016784
/* 16784: 3c01800a */ lui $at,%hi(g_Vars+0x510)
/* 16788: c424a4d0 */ lwc1 $f4,%lo(g_Vars+0x510)($at)
/* 1678c: 3c018006 */ lui $at,%hi(var8005ef10)
/* 16790: 03e00008 */ jr $ra
/* 16794: e424ef10 */ swc1 $f4,%lo(var8005ef10)($at)
);
void func00016784(void)
{
var8005ef10[0] = g_Vars.unk000510;
}
GLOBAL_ASM(
glabel func00016798