Decompile frSetSlot

This commit is contained in:
Ryan Dwyer 2020-04-11 21:55:54 +10:00
parent fc388c4db9
commit d10c53b47a
3 changed files with 6 additions and 8 deletions

View File

@ -638,12 +638,10 @@ glabel func0f19d250
/* f19d258: 9442d176 */ lhu $v0,%lo(g_FiringRangeData+0x456)($v0)
);
GLOBAL_ASM(
glabel func0f19d25c
/* f19d25c: 3c01800b */ lui $at,%hi(g_FiringRangeData+0x456)
/* f19d260: 03e00008 */ jr $ra
/* f19d264: a424d176 */ sh $a0,%lo(g_FiringRangeData+0x456)($at)
);
void frSetSlot(s32 slot)
{
g_FiringRangeData.slot = slot;
}
u32 frGetWeaponBySlot(s32 slot)
{

View File

@ -207,7 +207,7 @@ glabel var7f1b9940
/* f1a351c: 0fc679ea */ jal func0f19e7a8
/* f1a3520: afa200a0 */ sw $v0,0xa0($sp)
/* f1a3524: 8fa600b0 */ lw $a2,0xb0($sp)
/* f1a3528: 0fc67497 */ jal func0f19d25c
/* f1a3528: 0fc67497 */ jal frSetSlot
/* f1a352c: 8cc40000 */ lw $a0,0x0($a2)
/* f1a3530: 8fb800a0 */ lw $t8,0xa0($sp)
/* f1a3534: 1300000c */ beqz $t8,.L0f1a3568

View File

@ -18,7 +18,7 @@ u32 func0f19ccc0(u32 weaponnum);
u32 func0f19cdf0(u32 weaponnum);
u32 func0f19cf20(s32 stage_index); // firing range related
u32 func0f19d250(void);
u32 func0f19d25c(void);
void frSetSlot(s32 slot);
u32 frGetWeaponBySlot(s32 slot);
u32 func0f19d2e0(void);
u32 func0f19d338(void);