Decompile currentPlayerGetScaleBg2Gfx

This commit is contained in:
Ryan Dwyer
2020-03-16 22:28:16 +10:00
parent 7b235da743
commit 4435b3161a
5 changed files with 8 additions and 11 deletions
+1 -1
View File
@@ -10518,7 +10518,7 @@ glabel func0f0bfc7c
/* f0bfc8c: 00a08025 */ or $s0,$a1,$zero
/* f0bfc90: 00c08825 */ or $s1,$a2,$zero
/* f0bfc94: afb20040 */ sw $s2,0x40($sp)
/* f0bfc98: 0fc5722e */ jal func0f15c8b8
/* f0bfc98: 0fc5722e */ jal currentPlayerGetScaleBg2Gfx
/* f0bfc9c: afa40110 */ sw $a0,0x110($sp)
/* f0bfca0: 3c12800a */ lui $s2,%hi(g_Vars)
/* f0bfca4: 26529fc0 */ addiu $s2,$s2,%lo(g_Vars)
+1 -1
View File
@@ -301,7 +301,7 @@ glabel func0f13c780
/* f13c85c: 02002025 */ or $a0,$s0,$zero
/* f13c860: 0fc59a9b */ jal func0f166a6c
/* f13c864: 018d8821 */ addu $s1,$t4,$t5
/* f13c868: 0fc5722e */ jal func0f15c8b8
/* f13c868: 0fc5722e */ jal currentPlayerGetScaleBg2Gfx
/* f13c86c: 00000000 */ sll $zero,$zero,0x0
/* f13c870: 46000306 */ mov.s $f12,$f0
/* f13c874: 0c0057e2 */ jal func00015f88
+4 -7
View File
@@ -5297,13 +5297,10 @@ glabel func0f15c888
/* f15c8b4: 46062003 */ div.s $f0,$f4,$f6
);
GLOBAL_ASM(
glabel func0f15c8b8
/* f15c8b8: 3c0e800a */ lui $t6,%hi(g_Vars+0x288)
/* f15c8bc: 8dcea248 */ lw $t6,%lo(g_Vars+0x288)($t6)
/* f15c8c0: 03e00008 */ jr $ra
/* f15c8c4: c5c00074 */ lwc1 $f0,0x74($t6)
);
f32 currentPlayerGetScaleBg2Gfx(void)
{
return g_Vars.currentplayerstats->scale_bg2gfx;
}
void currentPlayerSetScaleBg2Gfx(f32 scale)
{
+1 -1
View File
@@ -154,7 +154,7 @@ glabel func0f1657f8
/* f16580c: 8fbf0014 */ lw $ra,0x14($sp)
/* f165810: 0c002fb8 */ jal func0000bee0
/* f165814: 27a40038 */ addiu $a0,$sp,0x38
/* f165818: 0fc5722e */ jal func0f15c8b8
/* f165818: 0fc5722e */ jal currentPlayerGetScaleBg2Gfx
/* f16581c: 00000000 */ sll $zero,$zero,0x0
/* f165820: 3c048008 */ lui $a0,%hi(var80081058)
/* f165824: 24841058 */ addiu $a0,$a0,%lo(var80081058)
+1 -1
View File
@@ -28,7 +28,7 @@ void func0f15b908(s32 stagenum);
u32 func0f15c850(void);
u32 func0f15c880(void);
f32 func0f15c888(void);
u32 func0f15c8b8(void);
f32 currentPlayerGetScaleBg2Gfx(void);
void currentPlayerSetScaleBg2Gfx(f32 arg0);
void func0f15c920(void);
u32 func0f15ca00(void);