{"type": "func", "start": 729528, "end": 729640, "name": "FMOD::DSP::getType", "pseudocode": "// \n// FMOD::DSP::getType from 0xb21b8 to 0xb2228 (112 bytes)\n// \n// 1 xrefs:\n// > FMOD::DSP::getType @ 0xe0f98\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:41:41 +0000\n// \n\nint __fastcall FMOD::DSP::getType(_DWORD *a1, _DWORD *a2)\n{\n  int v4; // r4\n  _BYTE v6[256]; // [sp+8h] [bp-118h] BYREF\n  int v7; // [sp+108h] [bp-18h] BYREF\n  int v8; // [sp+10Ch] [bp-14h] BYREF\n\n  v7 = 0;\n  v4 = FMOD::DSPI::validate(a1, &v8, &v7);\n  if ( v4 || (v4 = sub_AB858(v8, a2)) != 0 )\n  {\n    if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )\n    {\n      sub_5CBD8((int)v6, 256, a2);\n      sub_BAB40(v4, 7, a1, \"DSP::getType\", v6);\n    }\n  }\n  else\n  {\n    v4 = 0;\n  }\n  sub_444C0(&v7);\n  return v4;\n}", "assembly": "; \n; FMOD::DSP::getType from 0xb21b8 to 0xb2228 (112 bytes)\n; \n; 1 xrefs:\n; > FMOD::DSP::getType @ 0xe0f98\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:41:41 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0xb21b8\nADD             R7, SP, #0xC                                           ; +0x2, 0xb21ba\nPUSH.W          {R8}                                                   ; +0x4, 0xb21bc\nSUB             SP, SP, #0x110                                         ; +0x8, 0xb21c0\nMOV             R6, R1                                                 ; +0xa, 0xb21c2\nMOV             R5, R0                                                 ; +0xc, 0xb21c4\nMOVS            R0, #0                                                 ; +0xe, 0xb21c6\nADD             R1, SP, #0x110+var_4                                   ; +0x10, 0xb21c8\nADD             R2, SP, #0x110+var_8                                   ; +0x12, 0xb21ca\nSTR             R0, [SP,#0x110+var_8]                                  ; +0x14, 0xb21cc\nMOV             R0, R5                                                 ; +0x16, 0xb21ce\nBLX             j__ZN4FMOD4DSPI8validateEPNS_3DSPEPPS0_PNS_15SystemLockScopeE; FMOD::DSPI::validate(FMOD::DSP *,FMOD::DSPI**,FMOD::SystemLockScope *) ; +0x18, 0xb21d0\nMOV             R4, R0                                                 ; +0x1c, 0xb21d4\nCBNZ            R0, loc_B21E4                                          ; +0x1e, 0xb21d6\nLDR             R0, [SP,#0x110+var_4]                                  ; +0x20, 0xb21d8\nMOV             R1, R6                                                 ; +0x22, 0xb21da\nBL              sub_AB858                                              ; +0x24, 0xb21dc\nMOV             R4, R0                                                 ; +0x28, 0xb21e0\nCBZ             R0, loc_B2216                                          ; +0x2a, 0xb21e2\nLDR             R0, =(off_E6144 - 0xB21EA)                             ; +0x2c, 0xb21e4\nADD             R0, PC; off_E6144                                      ; +0x2e, 0xb21e6\nLDR             R0, [R0]; off_E8000                                    ; +0x30, 0xb21e8\nLDR             R0, [R0]; dword_F2488                                  ; +0x32, 0xb21ea\nLDRB            R0, [R0,#(dword_F249C - 0xF2488)]                      ; +0x34, 0xb21ec\nLSLS            R0, R0, #0x18                                          ; +0x36, 0xb21ee\nBPL             loc_B2218                                              ; +0x38, 0xb21f0\nADD.W           R8, SP, #0x110+var_108                                 ; +0x3a, 0xb21f2\nMOV.W           R1, #0x100                                             ; +0x3e, 0xb21f6\nMOV             R2, R6                                                 ; +0x42, 0xb21fa\nMOV             R0, R8                                                 ; +0x44, 0xb21fc\nBL              sub_5CBD8                                              ; +0x46, 0xb21fe\nSTR.W           R8, [SP,#0x110+var_110]                                ; +0x4a, 0xb2202\nMOV             R0, R4                                                 ; +0x4e, 0xb2206\nLDR             R3, =(aDspGettype - 0xB2212); \"DSP::getType\" ...       ; +0x50, 0xb2208\nMOVS            R1, #7                                                 ; +0x52, 0xb220a\nMOV             R2, R5                                                 ; +0x54, 0xb220c\nADD             R3, PC; \"DSP::getType\"                                 ; +0x56, 0xb220e\nBL              sub_BAB40                                              ; +0x58, 0xb2210\nB               loc_B2218                                              ; +0x5c, 0xb2214\nMOVS            R4, #0                                                 ; +0x5e, 0xb2216\nADD             R0, SP, #0x110+var_8                                   ; +0x60, 0xb2218\nBL              sub_444C0                                              ; +0x62, 0xb221a\nMOV             R0, R4                                                 ; +0x66, 0xb221e\nADD             SP, SP, #0x110                                         ; +0x68, 0xb2220\nPOP.W           {R8}                                                   ; +0x6a, 0xb2222\nPOP             {R4-R7,PC}                                             ; +0x6e, 0xb2226", "xrefs": ["FMOD::DSP::getType @ 0xe0f98"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}