Decompile func0f09cf58

This commit is contained in:
Ryan Dwyer
2020-07-27 23:07:15 +10:00
parent 779d4afb8c
commit 166560193b
3 changed files with 6 additions and 17 deletions
+4 -15
View File
@@ -6882,21 +6882,10 @@ glabel func0f09ceac
/* f09cf54: 27bd0038 */ addiu $sp,$sp,0x38
);
GLOBAL_ASM(
glabel func0f09cf58
/* f09cf58: 00047900 */ sll $t7,$a0,0x4
/* f09cf5c: 01e47823 */ subu $t7,$t7,$a0
/* f09cf60: 000f7880 */ sll $t7,$t7,0x2
/* f09cf64: 01e47821 */ addu $t7,$t7,$a0
/* f09cf68: 3c0e800a */ lui $t6,%hi(g_Vars+0x284)
/* f09cf6c: 8dcea244 */ lw $t6,%lo(g_Vars+0x284)($t6)
/* f09cf70: 000f78c0 */ sll $t7,$t7,0x3
/* f09cf74: 01e47821 */ addu $t7,$t7,$a0
/* f09cf78: 000f7880 */ sll $t7,$t7,0x2
/* f09cf7c: 01cfc021 */ addu $t8,$t6,$t7
/* f09cf80: 03e00008 */ jr $ra
/* f09cf84: c7000840 */ lwc1 $f0,0x840($t8)
);
f32 func0f09cf58(u32 hand)
{
return g_Vars.currentplayer->hands[hand].unk0840;
}
GLOBAL_ASM(
glabel func0f09cf88
+1 -1
View File
@@ -18841,7 +18841,7 @@ struct audiohandle *g_BoostAndSlayerAudioHandles[3] = {NULL};
u32 var800aa5bc = 0;
s32 g_BoostAndSlayerActiveTypes[3] = {0};
u32 var800aa5cc = 0;
u32 var800aa5d0 = 0;
s32 var800aa5d0 = 0;
u32 var800aa5d4 = 0;
u32 var800aa5d8 = 0;
u32 var800aa5dc = 0;
+1 -1
View File
@@ -1621,7 +1621,7 @@ struct hand {
/*0x0834*/ u32 unk0834;
/*0x0838*/ u32 unk0838;
/*0x083c*/ u32 unk083c;
/*0x0840*/ u32 unk0840;
/*0x0840*/ f32 unk0840;
/*0x0844*/ u32 unk0844;
/*0x0848*/ u32 unk0848;
/*0x084c*/ u32 unk084c;