; ; FMOD::DSP::getOutputChannelFormat from 0xb15a8 to 0xb1634 (140 bytes) ; ; 1 xrefs: ; > FMOD::DSP::getOutputChannelFormat @ 0xe0e98 ; ; 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:41 +0000 ; PUSH {R4-R7,LR} ; +0x0, 0xb15a8 ADD R7, SP, #0xC ; +0x2, 0xb15aa PUSH.W {R8-R11} ; +0x4, 0xb15ac SUB SP, SP, #0x11C ; +0x8, 0xb15b0 MOV R8, R2 ; +0xa, 0xb15b2 MOV R9, R1 ; +0xc, 0xb15b4 MOV R4, R0 ; +0xe, 0xb15b6 MOVS R0, #0 ; +0x10, 0xb15b8 ADD R1, SP, #0x11C+var_4 ; +0x12, 0xb15ba ADD R2, SP, #0x11C+var_8 ; +0x14, 0xb15bc STR R0, [SP,#0x11C+var_8] ; +0x16, 0xb15be MOV R0, R4 ; +0x18, 0xb15c0 MOV R6, R3 ; +0x1a, 0xb15c2 BLX j__ZN4FMOD4DSPI8validateEPNS_3DSPEPPS0_PNS_15SystemLockScopeE; FMOD::DSPI::validate(FMOD::DSP *,FMOD::DSPI**,FMOD::SystemLockScope *) ; +0x1c, 0xb15c4 LDR R1, [R7,#-0x1C+arg_8] ; +0x20, 0xb15c8 MOV R5, R0 ; +0x22, 0xb15ca LDRD.W R10, R11, [R7,#-0x1C+arg_0] ; +0x24, 0xb15cc CBNZ R0, loc_B15EC ; +0x28, 0xb15d0 LDR R0, [SP,#0x11C+var_4] ; +0x2a, 0xb15d2 MOV R5, R1 ; +0x2c, 0xb15d4 STRD.W R10, R11, [SP,#0x11C+var_11C] ; +0x2e, 0xb15d6 MOV R2, R8 ; +0x32, 0xb15da STR R1, [SP,#0x11C+var_114] ; +0x34, 0xb15dc MOV R1, R9 ; +0x36, 0xb15de MOV R3, R6 ; +0x38, 0xb15e0 BL sub_AB87E ; +0x3a, 0xb15e2 MOV R1, R5 ; +0x3e, 0xb15e6 MOV R5, R0 ; +0x40, 0xb15e8 CBZ R0, loc_B1622 ; +0x42, 0xb15ea LDR R0, =(off_E6144 - 0xB15F2) ; +0x44, 0xb15ec ADD R0, PC; off_E6144 ; +0x46, 0xb15ee LDR R0, [R0]; off_E8000 ; +0x48, 0xb15f0 LDR R0, [R0]; dword_F2488 ; +0x4a, 0xb15f2 LDRB R0, [R0,#(dword_F249C - 0xF2488)] ; +0x4c, 0xb15f4 LSLS R0, R0, #0x18 ; +0x4e, 0xb15f6 BPL loc_B1624 ; +0x50, 0xb15f8 STMEA.W SP, {R6,R10,R11} ; +0x52, 0xb15fa ADD R6, SP, #0x11C+var_108 ; +0x56, 0xb15fe MOV R2, R9 ; +0x58, 0xb1600 STR R1, [SP,#0x11C+var_110] ; +0x5a, 0xb1602 MOV R0, R6 ; +0x5c, 0xb1604 MOV.W R1, #0x100 ; +0x5e, 0xb1606 MOV R3, R8 ; +0x62, 0xb160a BL sub_B163C ; +0x64, 0xb160c STR R6, [SP,#0x11C+var_11C] ; +0x68, 0xb1610 MOV R0, R5 ; +0x6a, 0xb1612 LDR R3, =(aDspGetoutputch - 0xB161E); "DSP::getOutputChannelFormat" ... ; +0x6c, 0xb1614 MOVS R1, #7 ; +0x6e, 0xb1616 MOV R2, R4 ; +0x70, 0xb1618 ADD R3, PC; "DSP::getOutputChannelFormat" ; +0x72, 0xb161a BL sub_BAB40 ; +0x74, 0xb161c B loc_B1624 ; +0x78, 0xb1620 MOVS R5, #0 ; +0x7a, 0xb1622 ADD R0, SP, #0x11C+var_8 ; +0x7c, 0xb1624 BL sub_444C0 ; +0x7e, 0xb1626 MOV R0, R5 ; +0x82, 0xb162a ADD SP, SP, #0x11C ; +0x84, 0xb162c POP.W {R8-R11} ; +0x86, 0xb162e POP {R4-R7,PC} ; +0x8a, 0xb1632