Decompile mpGetCurrentChallengeIndex

This commit is contained in:
Ryan Dwyer
2020-01-05 09:32:50 +10:00
parent 439c0f1e7e
commit 95c746efe6
3 changed files with 7 additions and 9 deletions
+2 -2
View File
@@ -8743,7 +8743,7 @@ glabel func0f17eac8
/* f17eaec: 1000000e */ beqz $zero,.L0f17eb28
/* f17eaf0: 8fbf0014 */ lw $ra,0x14($sp)
.L0f17eaf4:
/* f17eaf4: 0fc66dfd */ jal func0f19b7f4
/* f17eaf4: 0fc66dfd */ jal mpGetCurrentChallengeIndex
/* f17eaf8: 00000000 */ sll $zero,$zero,0x0
/* f17eafc: 0fc66daf */ jal func0f19b6bc
/* f17eb00: 00402025 */ or $a0,$v0,$zero
@@ -16334,7 +16334,7 @@ glabel func0f185568
/* f18559c: afb00014 */ sw $s0,0x14($sp)
/* f1855a0: 166f000a */ bne $s3,$t7,.L0f1855cc
/* f1855a4: afae00b8 */ sw $t6,0xb8($sp)
/* f1855a8: 0fc66dfd */ jal func0f19b7f4
/* f1855a8: 0fc66dfd */ jal mpGetCurrentChallengeIndex
/* f1855ac: 00000000 */ sll $zero,$zero,0x0
/* f1855b0: 0fc66dbe */ jal func0f19b6f8
/* f1855b4: 00402025 */ or $a0,$v0,$zero
+4 -6
View File
@@ -2281,12 +2281,10 @@ glabel func0f19b77c
/* f19b7f0: 27bd0028 */ addiu $sp,$sp,0x28
);
GLOBAL_ASM(
glabel func0f19b7f4
/* f19b7f4: 3c028009 */ lui $v0,0x8009
/* f19b7f8: 03e00008 */ jr $ra
/* f19b7fc: 8c4284b0 */ lw $v0,-0x7b50($v0)
);
s32 mpGetCurrentChallengeIndex(void)
{
return g_MpChallengeIndex;
}
GLOBAL_ASM(
glabel func0f19b800
+1 -1
View File
@@ -32,7 +32,7 @@ u32 func0f19b664(void);
u32 func0f19b6bc(void);
u32 func0f19b6f8(void);
void func0f19b77c(u32 options);
u32 func0f19b7f4(void);
s32 mpGetCurrentChallengeIndex(void);
u32 func0f19b800(void);
s32 func0f19b914(s16 arg0, s32 arg1, s32 arg2);
s32 func0f19ba58(s32 challengeindex, s32 arg1, s32 arg2);