Decompile func00016760

This commit is contained in:
Ryan Dwyer
2021-09-05 21:44:45 +10:00
parent 144fbcec73
commit 6f61235928
2 changed files with 6 additions and 13 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ void func000166a4(struct coord *pos, struct coord *rot, Mtxf *matrix);
void func000166dc(struct coord *pos, Mtxf *matrix);
u32 func00016710(void);
void func00016748(f32 arg0);
u32 func00016760(void);
void func00016760(void);
void func00016784(void);
void func00016798(Mtxf *arg0, Mtxf *arg1);
void func00016820(Mtx *arg0, Mtx *arg1);
+5 -12
View File
@@ -387,18 +387,11 @@ void func00016748(f32 arg0)
var8005ef10[0] = 65536 * arg0;
}
GLOBAL_ASM(
glabel func00016760
/* 16760: 3c028006 */ lui $v0,%hi(var8005ef10)
/* 16764: 2442ef10 */ addiu $v0,$v0,%lo(var8005ef10)
/* 16768: c4440000 */ lwc1 $f4,0x0($v0)
/* 1676c: 3c01800a */ lui $at,%hi(g_Vars+0x510)
/* 16770: e424a4d0 */ swc1 $f4,%lo(g_Vars+0x510)($at)
/* 16774: 3c014780 */ lui $at,0x4780
/* 16778: 44813000 */ mtc1 $at,$f6
/* 1677c: 03e00008 */ jr $ra
/* 16780: e4460000 */ swc1 $f6,0x0($v0)
);
void func00016760(void)
{
g_Vars.unk000510 = var8005ef10[0];
var8005ef10[0] = 65536;
}
void func00016784(void)
{