Decompile currentPlayerGetUnk173c

This commit is contained in:
Ryan Dwyer
2020-03-16 20:16:30 +10:00
parent 86aaaa61b5
commit dba20b3b7e
3 changed files with 7 additions and 10 deletions
+4 -7
View File
@@ -1845,13 +1845,10 @@ void currentPlayerSetUnk173c(u32 value)
g_Vars.currentplayer->unk173c = value;
}
GLOBAL_ASM(
glabel func0f0b4fa8
/* f0b4fa8: 3c0e800a */ lui $t6,%hi(g_Vars+0x284)
/* f0b4fac: 8dcea244 */ lw $t6,%lo(g_Vars+0x284)($t6)
/* f0b4fb0: 03e00008 */ jr $ra
/* f0b4fb4: 8dc2173c */ lw $v0,0x173c($t6)
);
u32 currentPlayerGetUnk173c(void)
{
return g_Vars.currentplayer->unk173c;
}
GLOBAL_ASM(
glabel func0f0b4fb8
+2 -2
View File
@@ -1529,7 +1529,7 @@ glabel func0f151780
/* f151e6c: 35290040 */ ori $t1,$t1,0x40
/* f151e70: 02608825 */ or $s1,$s3,$zero
/* f151e74: ae290000 */ sw $t1,0x0($s1)
/* f151e78: 0fc2d3ea */ jal func0f0b4fa8
/* f151e78: 0fc2d3ea */ jal currentPlayerGetUnk173c
/* f151e7c: 26730008 */ addiu $s3,$s3,0x8
/* f151e80: ae220004 */ sw $v0,0x4($s1)
.L0f151e84:
@@ -2077,7 +2077,7 @@ glabel func0f151ed0
/* f152680: 35080040 */ ori $t0,$t0,0x40
/* f152684: 26380008 */ addiu $t8,$s1,0x8
/* f152688: afb80140 */ sw $t8,0x140($sp)
/* f15268c: 0fc2d3ea */ jal func0f0b4fa8
/* f15268c: 0fc2d3ea */ jal currentPlayerGetUnk173c
/* f152690: ae280000 */ sw $t0,0x0($s1)
/* f152694: ae220004 */ sw $v0,0x4($s1)
.L0f152698:
+1 -1
View File
@@ -24,7 +24,7 @@ void func0f0b4e68(struct coord *in, f32 divisor, struct coord *out);
u32 func0f0b4eb8(void);
void currentPlayerSetUnk1738(u32 value);
void currentPlayerSetUnk173c(u32 value);
u32 func0f0b4fa8(void);
u32 currentPlayerGetUnk173c(void);
u32 func0f0b4fb8(void);
u32 func0f0b4fc8(void);
u32 func0f0b4fd8(void);