; ; FMOD::DSP::getChannelFormat from 0xb14d4 to 0xb154c (120 bytes) ; ; 1 xrefs: ; > FMOD::DSP::getChannelFormat @ 0xe0e88 ; ; 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, 0xb14d4 ADD R7, SP, #0xC ; +0x2, 0xb14d6 PUSH.W {R8,R9,R11} ; +0x4, 0xb14d8 SUB SP, SP, #0x110 ; +0x8, 0xb14dc MOV R8, R2 ; +0xa, 0xb14de MOV R9, R1 ; +0xc, 0xb14e0 MOV R4, R0 ; +0xe, 0xb14e2 MOVS R0, #0 ; +0x10, 0xb14e4 ADD R1, SP, #0x110+var_4 ; +0x12, 0xb14e6 ADD R2, SP, #0x110+var_8 ; +0x14, 0xb14e8 STR R0, [SP,#0x110+var_8] ; +0x16, 0xb14ea MOV R0, R4 ; +0x18, 0xb14ec MOV R6, R3 ; +0x1a, 0xb14ee BLX j__ZN4FMOD4DSPI8validateEPNS_3DSPEPPS0_PNS_15SystemLockScopeE; FMOD::DSPI::validate(FMOD::DSP *,FMOD::DSPI**,FMOD::SystemLockScope *) ; +0x1c, 0xb14f0 MOV R5, R0 ; +0x20, 0xb14f4 CBNZ R0, loc_B1508 ; +0x22, 0xb14f6 LDR R0, [SP,#0x110+var_4] ; +0x24, 0xb14f8 MOV R1, R9 ; +0x26, 0xb14fa MOV R2, R8 ; +0x28, 0xb14fc MOV R3, R6 ; +0x2a, 0xb14fe BL sub_A7654 ; +0x2c, 0xb1500 MOV R5, R0 ; +0x30, 0xb1504 CBZ R0, loc_B153A ; +0x32, 0xb1506 LDR R0, =(off_E6144 - 0xB150E) ; +0x34, 0xb1508 ADD R0, PC; off_E6144 ; +0x36, 0xb150a LDR R0, [R0]; off_E8000 ; +0x38, 0xb150c LDR R0, [R0]; dword_F2488 ; +0x3a, 0xb150e LDRB R0, [R0,#(dword_F249C - 0xF2488)] ; +0x3c, 0xb1510 LSLS R0, R0, #0x18 ; +0x3e, 0xb1512 BPL loc_B153C ; +0x40, 0xb1514 STR R6, [SP,#0x110+var_110] ; +0x42, 0xb1516 ADD R6, SP, #0x110+var_108 ; +0x44, 0xb1518 MOV.W R1, #0x100 ; +0x46, 0xb151a MOV R2, R9 ; +0x4a, 0xb151e MOV R0, R6 ; +0x4c, 0xb1520 MOV R3, R8 ; +0x4e, 0xb1522 BL sub_B1554 ; +0x50, 0xb1524 STR R6, [SP,#0x110+var_110] ; +0x54, 0xb1528 MOV R0, R5 ; +0x56, 0xb152a LDR R3, =(aDspGetchannelf - 0xB1536); "DSP::getChannelFormat" ... ; +0x58, 0xb152c MOVS R1, #7 ; +0x5a, 0xb152e MOV R2, R4 ; +0x5c, 0xb1530 ADD R3, PC; "DSP::getChannelFormat" ; +0x5e, 0xb1532 BL sub_BAB40 ; +0x60, 0xb1534 B loc_B153C ; +0x64, 0xb1538 MOVS R5, #0 ; +0x66, 0xb153a ADD R0, SP, #0x110+var_8 ; +0x68, 0xb153c BL sub_444C0 ; +0x6a, 0xb153e MOV R0, R5 ; +0x6e, 0xb1542 ADD SP, SP, #0x110 ; +0x70, 0xb1544 POP.W {R8,R9,R11} ; +0x72, 0xb1546 POP {R4-R7,PC} ; +0x76, 0xb154a