Decompile currentPlayerSetUnk1738

This commit is contained in:
Ryan Dwyer
2020-03-16 20:12:51 +10:00
parent d129b64adc
commit 9bf7c411fd
3 changed files with 8 additions and 7 deletions
+6 -5
View File
@@ -1830,12 +1830,13 @@ glabel var7f1ad154
/* f0b4f74: 00000000 */ sll $zero,$zero,0x0
);
void currentPlayerSetUnk1738(u32 value)
{
g_Vars.currentplayer->unk1738 = value;
}
GLOBAL_ASM(
glabel func0f0b4f78
/* f0b4f78: 3c0e800a */ lui $t6,%hi(g_Vars+0x284)
/* f0b4f7c: 8dcea244 */ lw $t6,%lo(g_Vars+0x284)($t6)
/* f0b4f80: 03e00008 */ jr $ra
/* f0b4f84: adc41738 */ sw $a0,0x1738($t6)
glabel func0f0b4f88
/* f0b4f88: 3c0e800a */ lui $t6,%hi(g_Vars+0x284)
/* f0b4f8c: 8dcea244 */ lw $t6,%lo(g_Vars+0x284)($t6)
/* f0b4f90: 03e00008 */ jr $ra
+1 -1
View File
@@ -10827,7 +10827,7 @@ glabel func0f0bfc7c
/* f0bff70: 0fc2d3e6 */ jal func0f0b4f98
/* f0bff74: 8dc4005c */ lw $a0,0x5c($t6)
/* f0bff78: 8e4f0284 */ lw $t7,0x284($s2)
/* f0bff7c: 0fc2d3de */ jal func0f0b4f78
/* f0bff7c: 0fc2d3de */ jal currentPlayerSetUnk1738
/* f0bff80: 8de40060 */ lw $a0,0x60($t7)
/* f0bff84: 8e580284 */ lw $t8,0x284($s2)
/* f0bff88: 0fc2d406 */ jal func0f0b5018
+1 -1
View File
@@ -22,7 +22,7 @@ void func0f0b4d68(struct coord *in, struct coord *out);
void func0f0b4dec(struct coord *in, struct coord *out);
void func0f0b4e68(struct coord *in, f32 divisor, struct coord *out);
u32 func0f0b4eb8(void);
u32 func0f0b4f78(void);
void currentPlayerSetUnk1738(u32 value);
u32 func0f0b4f98(void);
u32 func0f0b4fa8(void);
u32 func0f0b4fb8(void);