From 779d4afb8c6375f7ef6a511cb8276e4cd10cc497 Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Mon, 27 Jul 2020 22:58:35 +1000 Subject: [PATCH] Decompile mpGetWeaponSet --- src/game/mplayer.c | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/src/game/mplayer.c b/src/game/mplayer.c index 98962de0e..6151f2940 100644 --- a/src/game/mplayer.c +++ b/src/game/mplayer.c @@ -2240,18 +2240,10 @@ glabel func0f1895e8 /* f189618: 00000000 */ nop ); -GLOBAL_ASM( -glabel mpGetWeaponSet -/* f18961c: 27bdffe8 */ addiu $sp,$sp,-24 -/* f189620: afbf0014 */ sw $ra,0x14($sp) -/* f189624: 3c048008 */ lui $a0,%hi(var800874c8) -/* f189628: 0fc623b5 */ jal mpCountWeaponSetThing -/* f18962c: 8c8474c8 */ lw $a0,%lo(var800874c8)($a0) -/* f189630: 8fbf0014 */ lw $ra,0x14($sp) -/* f189634: 27bd0018 */ addiu $sp,$sp,0x18 -/* f189638: 03e00008 */ jr $ra -/* f18963c: 00000000 */ nop -); +s32 mpGetWeaponSet(void) +{ + return mpCountWeaponSetThing(var800874c8); +} bool mpIsPaused(void) {