; ; FMOD::System::playSound from 0xb98a4 to 0xb9926 (130 bytes) ; ; 1 xrefs: ; > FMOD::System::playSound @ 0xe02b8 ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:41:45 +0000 ; PUSH {R4-R7,LR} ; +0x0, 0xb98a4 ADD R7, SP, #0xC ; +0x2, 0xb98a6 PUSH.W {R8-R10} ; +0x4, 0xb98a8 SUB SP, SP, #0x110 ; +0x8, 0xb98ac MOV R8, R2 ; +0xa, 0xb98ae MOV R9, R1 ; +0xc, 0xb98b0 MOV R4, R0 ; +0xe, 0xb98b2 MOVS R0, #0 ; +0x10, 0xb98b4 ADD R1, SP, #0x110+var_4 ; +0x12, 0xb98b6 ADD R2, SP, #0x110+var_8 ; +0x14, 0xb98b8 STR R0, [SP,#0x110+var_8] ; +0x16, 0xb98ba MOV R0, R4 ; +0x18, 0xb98bc MOV R6, R3 ; +0x1a, 0xb98be BLX j__ZN4FMOD7SystemI8validateEPNS_6SystemEPPS0_PNS_15SystemLockScopeE; FMOD::SystemI::validate(FMOD::System *,FMOD::SystemI**,FMOD::SystemLockScope *) ; +0x1c, 0xb98c0 LDR.W R10, [R7,#-0x18+arg_0] ; +0x20, 0xb98c4 MOV R5, R0 ; +0x24, 0xb98c8 CBNZ R0, loc_B98E0 ; +0x26, 0xb98ca LDR R0, [SP,#0x110+var_4] ; +0x28, 0xb98cc MOV R1, R9 ; +0x2a, 0xb98ce MOV R2, R8 ; +0x2c, 0xb98d0 MOV R3, R6 ; +0x2e, 0xb98d2 STR.W R10, [SP,#0x110+var_110] ; +0x30, 0xb98d4 BL sub_5A3F8 ; +0x34, 0xb98d8 MOV R5, R0 ; +0x38, 0xb98dc CBZ R0, loc_B9914 ; +0x3a, 0xb98de LDR R0, =(off_E6144 - 0xB98E6) ; +0x3c, 0xb98e0 ADD R0, PC; off_E6144 ; +0x3e, 0xb98e2 LDR R0, [R0]; off_E8000 ; +0x40, 0xb98e4 LDR R0, [R0]; dword_F2488 ; +0x42, 0xb98e6 LDRB R0, [R0,#(dword_F249C - 0xF2488)] ; +0x44, 0xb98e8 LSLS R0, R0, #0x18 ; +0x46, 0xb98ea BPL loc_B9916 ; +0x48, 0xb98ec STRD.W R6, R10, [SP,#0x110+var_110] ; +0x4a, 0xb98ee ADD R6, SP, #0x110+var_108 ; +0x4e, 0xb98f2 MOV.W R1, #0x100 ; +0x50, 0xb98f4 MOV R2, R9 ; +0x54, 0xb98f8 MOV R0, R6 ; +0x56, 0xb98fa MOV R3, R8 ; +0x58, 0xb98fc BL sub_B9930 ; +0x5a, 0xb98fe STR R6, [SP,#0x110+var_110] ; +0x5e, 0xb9902 MOV R0, R5 ; +0x60, 0xb9904 LDR R3, =(aSystemPlaysoun - 0xB9910); "System::playSound" ... ; +0x62, 0xb9906 MOVS R1, #1 ; +0x64, 0xb9908 MOV R2, R4 ; +0x66, 0xb990a ADD R3, PC; "System::playSound" ; +0x68, 0xb990c BL sub_BAB40 ; +0x6a, 0xb990e B loc_B9916 ; +0x6e, 0xb9912 MOVS R5, #0 ; +0x70, 0xb9914 ADD R0, SP, #0x110+var_8 ; +0x72, 0xb9916 BL sub_444C0 ; +0x74, 0xb9918 MOV R0, R5 ; +0x78, 0xb991c ADD SP, SP, #0x110 ; +0x7a, 0xb991e POP.W {R8-R10} ; +0x7c, 0xb9920 POP {R4-R7,PC} ; +0x80, 0xb9924