Decompile currentPlayerGetUnk006c

This commit is contained in:
Ryan Dwyer
2020-03-16 20:18:44 +10:00
parent 6743c035b9
commit 137494a93c
3 changed files with 6 additions and 9 deletions
+4 -7
View File
@@ -1855,13 +1855,10 @@ void currentPlayerSetUnk006c(u32 value)
g_Vars.currentplayer->unk006c = value;
}
GLOBAL_ASM(
glabel func0f0b4fc8
/* f0b4fc8: 3c0e800a */ lui $t6,%hi(g_Vars+0x284)
/* f0b4fcc: 8dcea244 */ lw $t6,%lo(g_Vars+0x284)($t6)
/* f0b4fd0: 03e00008 */ jr $ra
/* f0b4fd4: 8dc2006c */ lw $v0,0x6c($t6)
);
u32 currentPlayerGetUnk006c(void)
{
return g_Vars.currentplayer->unk006c;
}
GLOBAL_ASM(
glabel func0f0b4fd8
+1 -1
View File
@@ -306,7 +306,7 @@ glabel func0f13c780
/* f13c870: 46000306 */ mov.s $f12,$f0
/* f13c874: 0c0057e2 */ jal func00015f88
/* f13c878: 02002825 */ or $a1,$s0,$zero
/* f13c87c: 0fc2d3f2 */ jal func0f0b4fc8
/* f13c87c: 0fc2d3f2 */ jal currentPlayerGetUnk006c
/* f13c880: 00000000 */ sll $zero,$zero,0x0
/* f13c884: 00402025 */ or $a0,$v0,$zero
/* f13c888: 02002825 */ or $a1,$s0,$zero
+1 -1
View File
@@ -26,7 +26,7 @@ void currentPlayerSetUnk1738(u32 value);
void currentPlayerSetUnk173c(u32 value);
u32 currentPlayerGetUnk173c(void);
void currentPlayerSetUnk006c(u32 value);
u32 func0f0b4fc8(void);
u32 currentPlayerGetUnk006c(void);
u32 func0f0b4fd8(void);
u32 func0f0b4fe8(void);
u32 func0f0b4ff8(void);