Decompile func0f09ebbc

This commit is contained in:
Ryan Dwyer 2021-03-04 08:23:20 +10:00
parent 39627c1154
commit 01c4784ace
3 changed files with 6 additions and 9 deletions

View File

@ -8766,13 +8766,10 @@ bool func0f09eae4(void)
return false;
}
GLOBAL_ASM(
glabel func0f09ebbc
/* f09ebbc: 3c0e800a */ lui $t6,%hi(g_Vars+0x284)
/* f09ebc0: 8dcea244 */ lw $t6,%lo(g_Vars+0x284)($t6)
/* f09ebc4: 03e00008 */ jr $ra
/* f09ebc8: 8dc21598 */ lw $v0,0x1598($t6)
);
s32 func0f09ebbc(void)
{
return g_Vars.currentplayer->gunctrl.unk1598;
}
GLOBAL_ASM(
glabel func0f09ebcc

View File

@ -68,7 +68,7 @@ u32 func0f09e144(void);
void func0f09e4e0(void);
u32 func0f09ea90(void);
bool func0f09eae4(void);
u32 func0f09ebbc(void);
s32 func0f09ebbc(void);
void func0f09ebcc(struct defaultobj *obj, struct coord *coord, s16 *rooms, Mtxf *matrix1, f32 *arg4, Mtxf *matrix2, struct prop *prop, struct coord *pos);
u32 func0f09ed2c(void);
void func0f09ee18(struct chrdata *chr, u8 *arg1, struct coord *pos, s16 *rooms, Mtxf *arg4, struct coord *arg5);

View File

@ -2132,7 +2132,7 @@ struct gunctrl {
/*0x158c*/ void *unk158c;
/*0x1590*/ u32 unk1590;
/*0x1594*/ s32 unk1594;
/*0x1598*/ u32 unk1598;
/*0x1598*/ s32 unk1598;
/*0x159c*/ u16 unk159c;
/*0x15a0*/ s32 unk15a0;
/*0x15a4*/ s32 unk15a4;