Decompile currentPlayerSetUnk173c

This commit is contained in:
Ryan Dwyer
2020-03-16 20:15:27 +10:00
parent 0eb9ea2002
commit 86aaaa61b5
3 changed files with 6 additions and 9 deletions
+4 -7
View File
@@ -1840,13 +1840,10 @@ u32 currentPlayerGetUnk1738(void)
return g_Vars.currentplayer->unk1738;
}
GLOBAL_ASM(
glabel func0f0b4f98
/* f0b4f98: 3c0e800a */ lui $t6,%hi(g_Vars+0x284)
/* f0b4f9c: 8dcea244 */ lw $t6,%lo(g_Vars+0x284)($t6)
/* f0b4fa0: 03e00008 */ jr $ra
/* f0b4fa4: adc4173c */ sw $a0,0x173c($t6)
);
void currentPlayerSetUnk173c(u32 value)
{
g_Vars.currentplayer->unk173c = value;
}
GLOBAL_ASM(
glabel func0f0b4fa8
+1 -1
View File
@@ -10824,7 +10824,7 @@ glabel func0f0bfc7c
/* f0bff64: 0c005a08 */ jal func00016820
/* f0bff68: 8c650060 */ lw $a1,0x60($v1)
/* f0bff6c: 8e4e0284 */ lw $t6,0x284($s2)
/* f0bff70: 0fc2d3e6 */ jal func0f0b4f98
/* f0bff70: 0fc2d3e6 */ jal currentPlayerSetUnk173c
/* f0bff74: 8dc4005c */ lw $a0,0x5c($t6)
/* f0bff78: 8e4f0284 */ lw $t7,0x284($s2)
/* f0bff7c: 0fc2d3de */ jal currentPlayerSetUnk1738
+1 -1
View File
@@ -23,7 +23,7 @@ void func0f0b4dec(struct coord *in, struct coord *out);
void func0f0b4e68(struct coord *in, f32 divisor, struct coord *out);
u32 func0f0b4eb8(void);
void currentPlayerSetUnk1738(u32 value);
u32 func0f0b4f98(void);
void currentPlayerSetUnk173c(u32 value);
u32 func0f0b4fa8(void);
u32 func0f0b4fb8(void);
u32 func0f0b4fc8(void);