Decompile func0f111a28

This commit is contained in:
Ryan Dwyer 2020-02-05 23:11:07 +10:00
parent e58dff6e96
commit 8c6916d27a
2 changed files with 5 additions and 13 deletions

View File

@ -298,18 +298,10 @@ glabel func0f1119d0
/* f111a24: 00000000 */ sll $zero,$zero,0x0
);
GLOBAL_ASM(
glabel func0f111a28
/* f111a28: 27bdffe8 */ addiu $sp,$sp,-24
/* f111a2c: afbf0014 */ sw $ra,0x14($sp)
/* f111a30: 0fc44674 */ jal func0f1119d0
/* f111a34: 00000000 */ sll $zero,$zero,0x0
/* f111a38: 8fbf0014 */ lw $ra,0x14($sp)
/* f111a3c: 0002702b */ sltu $t6,$zero,$v0
/* f111a40: 01c01025 */ or $v0,$t6,$zero
/* f111a44: 03e00008 */ jr $ra
/* f111a48: 27bd0018 */ addiu $sp,$sp,0x18
);
bool func0f111a28(s32 weaponnum)
{
return func0f1119d0(weaponnum) != NULL;
}
GLOBAL_ASM(
glabel func0f111a4c

View File

@ -9,7 +9,7 @@ void func0f11179c(struct invitem *item);
u32 func0f1118cc(void);
struct invitem *currentPlayerGetUnusedInvItem(void);
void currentPlayerSetAllGuns(bool enable);
u32 func0f1119d0(void);
void *func0f1119d0(s32 weaponnum);
bool func0f111a28(s32 weaponnum);
u32 func0f111a4c(void);
bool func0f111ab0(s32 weapon1, s32 weapon2);