; ; FMOD::DSP::getType from 0xb21b8 to 0xb2228 (112 bytes) ; ; 1 xrefs: ; > FMOD::DSP::getType @ 0xe0f98 ; ; 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, 0xb21b8 ADD R7, SP, #0xC ; +0x2, 0xb21ba PUSH.W {R8} ; +0x4, 0xb21bc SUB SP, SP, #0x110 ; +0x8, 0xb21c0 MOV R6, R1 ; +0xa, 0xb21c2 MOV R5, R0 ; +0xc, 0xb21c4 MOVS R0, #0 ; +0xe, 0xb21c6 ADD R1, SP, #0x110+var_4 ; +0x10, 0xb21c8 ADD R2, SP, #0x110+var_8 ; +0x12, 0xb21ca STR R0, [SP,#0x110+var_8] ; +0x14, 0xb21cc MOV R0, R5 ; +0x16, 0xb21ce BLX j__ZN4FMOD4DSPI8validateEPNS_3DSPEPPS0_PNS_15SystemLockScopeE; FMOD::DSPI::validate(FMOD::DSP *,FMOD::DSPI**,FMOD::SystemLockScope *) ; +0x18, 0xb21d0 MOV R4, R0 ; +0x1c, 0xb21d4 CBNZ R0, loc_B21E4 ; +0x1e, 0xb21d6 LDR R0, [SP,#0x110+var_4] ; +0x20, 0xb21d8 MOV R1, R6 ; +0x22, 0xb21da BL sub_AB858 ; +0x24, 0xb21dc MOV R4, R0 ; +0x28, 0xb21e0 CBZ R0, loc_B2216 ; +0x2a, 0xb21e2 LDR R0, =(off_E6144 - 0xB21EA) ; +0x2c, 0xb21e4 ADD R0, PC; off_E6144 ; +0x2e, 0xb21e6 LDR R0, [R0]; off_E8000 ; +0x30, 0xb21e8 LDR R0, [R0]; dword_F2488 ; +0x32, 0xb21ea LDRB R0, [R0,#(dword_F249C - 0xF2488)] ; +0x34, 0xb21ec LSLS R0, R0, #0x18 ; +0x36, 0xb21ee BPL loc_B2218 ; +0x38, 0xb21f0 ADD.W R8, SP, #0x110+var_108 ; +0x3a, 0xb21f2 MOV.W R1, #0x100 ; +0x3e, 0xb21f6 MOV R2, R6 ; +0x42, 0xb21fa MOV R0, R8 ; +0x44, 0xb21fc BL sub_5CBD8 ; +0x46, 0xb21fe STR.W R8, [SP,#0x110+var_110] ; +0x4a, 0xb2202 MOV R0, R4 ; +0x4e, 0xb2206 LDR R3, =(aDspGettype - 0xB2212); "DSP::getType" ... ; +0x50, 0xb2208 MOVS R1, #7 ; +0x52, 0xb220a MOV R2, R5 ; +0x54, 0xb220c ADD R3, PC; "DSP::getType" ; +0x56, 0xb220e BL sub_BAB40 ; +0x58, 0xb2210 B loc_B2218 ; +0x5c, 0xb2214 MOVS R4, #0 ; +0x5e, 0xb2216 ADD R0, SP, #0x110+var_8 ; +0x60, 0xb2218 BL sub_444C0 ; +0x62, 0xb221a MOV R0, R4 ; +0x66, 0xb221e ADD SP, SP, #0x110 ; +0x68, 0xb2220 POP.W {R8} ; +0x6a, 0xb2222 POP {R4-R7,PC} ; +0x6e, 0xb2226