{"type": "func", "start": 724068, "end": 724192, "name": "FMOD::DSP::addInput", "pseudocode": "// \n// FMOD::DSP::addInput from 0xb0c64 to 0xb0ce0 (124 bytes)\n// \n// 1 xrefs:\n// > FMOD::DSP::addInput @ 0xe0da8\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:40 +0000\n// \n\nint __fastcall FMOD::DSP::addInput(_DWORD *a1, int a2, _DWORD *a3, int a4)\n{\n  int v6; // r5\n  int v9; // r6\n  _BYTE v11[256]; // [sp+8h] [bp-120h] BYREF\n  int v12; // [sp+108h] [bp-20h] BYREF\n  _DWORD *v13; // [sp+10Ch] [bp-1Ch] BYREF\n\n  v6 = 0;\n  v12 = 0;\n  v9 = FMOD::DSPI::validate(a1, &v13, &v12);\n  if ( v9 || (v9 = sub_AA8A8(v13, a2, a3, a4, 1, nullptr)) != 0 )\n  {\n    if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )\n    {\n      sub_B0CE8(v11, 256, a2, a3, a4);\n      sub_BAB40(v9, 7, a1, \"DSP::addInput\", v11);\n    }\n    v6 = v9;\n  }\n  sub_444C0(&v12);\n  return v6;\n}", "assembly": "; \n; FMOD::DSP::addInput from 0xb0c64 to 0xb0ce0 (124 bytes)\n; \n; 1 xrefs:\n; > FMOD::DSP::addInput @ 0xe0da8\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:40 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0xb0c64\nADD             R7, SP, #0xC                                           ; +0x2, 0xb0c66\nPUSH.W          {R8-R10}                                               ; +0x4, 0xb0c68\nSUB             SP, SP, #0x110                                         ; +0x8, 0xb0c6c\nMOV             R8, R2                                                 ; +0xa, 0xb0c6e\nMOV             R9, R1                                                 ; +0xc, 0xb0c70\nADD             R1, SP, #0x110+var_4                                   ; +0xe, 0xb0c72\nADD             R2, SP, #0x110+var_8                                   ; +0x10, 0xb0c74\nMOVS            R5, #0                                                 ; +0x12, 0xb0c76\nMOV             R10, R3                                                ; +0x14, 0xb0c78\nMOV             R4, R0                                                 ; +0x16, 0xb0c7a\nSTR             R5, [SP,#0x110+var_8]                                  ; +0x18, 0xb0c7c\nBLX             j__ZN4FMOD4DSPI8validateEPNS_3DSPEPPS0_PNS_15SystemLockScopeE; FMOD::DSPI::validate(FMOD::DSP *,FMOD::DSPI**,FMOD::SystemLockScope *) ; +0x1a, 0xb0c7e\nMOV             R6, R0                                                 ; +0x1e, 0xb0c82\nCBNZ            R0, loc_B0C9C                                          ; +0x20, 0xb0c84\nLDR             R0, [SP,#0x110+var_4]                                  ; +0x22, 0xb0c86\nMOVS            R1, #1                                                 ; +0x24, 0xb0c88\nSTRD.W          R1, R5, [SP,#0x110+var_110]                            ; +0x26, 0xb0c8a\nMOV             R1, R9                                                 ; +0x2a, 0xb0c8e\nMOV             R2, R8                                                 ; +0x2c, 0xb0c90\nMOV             R3, R10                                                ; +0x2e, 0xb0c92\nBL              sub_AA8A8                                              ; +0x30, 0xb0c94\nMOV             R6, R0                                                 ; +0x34, 0xb0c98\nCBZ             R0, loc_B0CD0                                          ; +0x36, 0xb0c9a\nLDR             R0, =(off_E6144 - 0xB0CA2)                             ; +0x38, 0xb0c9c\nADD             R0, PC; off_E6144                                      ; +0x3a, 0xb0c9e\nLDR             R0, [R0]; off_E8000                                    ; +0x3c, 0xb0ca0\nLDR             R0, [R0]; dword_F2488                                  ; +0x3e, 0xb0ca2\nLDRB            R0, [R0,#(dword_F249C - 0xF2488)]                      ; +0x40, 0xb0ca4\nLSLS            R0, R0, #0x18                                          ; +0x42, 0xb0ca6\nBPL             loc_B0CCE                                              ; +0x44, 0xb0ca8\nADD             R5, SP, #0x110+var_108                                 ; +0x46, 0xb0caa\nMOV.W           R1, #0x100                                             ; +0x48, 0xb0cac\nMOV             R2, R9                                                 ; +0x4c, 0xb0cb0\nMOV             R3, R8                                                 ; +0x4e, 0xb0cb2\nMOV             R0, R5                                                 ; +0x50, 0xb0cb4\nSTR.W           R10, [SP,#0x110+var_110]                               ; +0x52, 0xb0cb6\nBL              sub_B0CE8                                              ; +0x56, 0xb0cba\nSTR             R5, [SP,#0x110+var_110]                                ; +0x5a, 0xb0cbe\nMOV             R0, R6                                                 ; +0x5c, 0xb0cc0\nLDR             R3, =(aDspAddinput - 0xB0CCC); \"DSP::addInput\" ...     ; +0x5e, 0xb0cc2\nMOVS            R1, #7                                                 ; +0x60, 0xb0cc4\nMOV             R2, R4                                                 ; +0x62, 0xb0cc6\nADD             R3, PC; \"DSP::addInput\"                                ; +0x64, 0xb0cc8\nBL              sub_BAB40                                              ; +0x66, 0xb0cca\nMOV             R5, R6                                                 ; +0x6a, 0xb0cce\nADD             R0, SP, #0x110+var_8                                   ; +0x6c, 0xb0cd0\nBL              sub_444C0                                              ; +0x6e, 0xb0cd2\nMOV             R0, R5                                                 ; +0x72, 0xb0cd6\nADD             SP, SP, #0x110                                         ; +0x74, 0xb0cd8\nPOP.W           {R8-R10}                                               ; +0x76, 0xb0cda\nPOP             {R4-R7,PC}                                             ; +0x7a, 0xb0cde", "xrefs": ["FMOD::DSP::addInput @ 0xe0da8"], "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"}