{"type": "func", "start": 724284, "end": 724404, "name": "FMOD::DSP::disconnectFrom", "pseudocode": "// \n// FMOD::DSP::disconnectFrom from 0xb0d3c to 0xb0db4 (120 bytes)\n// \n// 1 xrefs:\n// > FMOD::DSP::disconnectFrom @ 0xe0db8\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::disconnectFrom(FMOD::DSP *this, FMOD::DSP *a2, FMOD::DSPConnection *a3)\n{\n  int v6; // r5\n  _BYTE v8[256]; // [sp+8h] [bp-120h] BYREF\n  int v9; // [sp+108h] [bp-20h] BYREF\n  int v10; // [sp+10Ch] [bp-1Ch] BYREF\n\n  v9 = 0;\n  v6 = FMOD::DSPI::validate(this, &v10, &v9);\n  if ( v6 || (v6 = sub_AAEE0(v10, (int)a2, a3, 4)) != 0 )\n  {\n    if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )\n    {\n      sub_B0DBC(v8, 256, a2, a3);\n      sub_BAB40(v6, 7, this, \"DSP::disconnectFrom\", v8);\n    }\n  }\n  else\n  {\n    v6 = 0;\n  }\n  sub_444C0(&v9);\n  return v6;\n}", "assembly": "; \n; FMOD::DSP::disconnectFrom from 0xb0d3c to 0xb0db4 (120 bytes)\n; \n; 1 xrefs:\n; > FMOD::DSP::disconnectFrom @ 0xe0db8\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, 0xb0d3c\nADD             R7, SP, #0xC                                           ; +0x2, 0xb0d3e\nPUSH.W          {R8,R9,R11}                                            ; +0x4, 0xb0d40\nSUB             SP, SP, #0x110                                         ; +0x8, 0xb0d44\nMOV             R8, R2                                                 ; +0xa, 0xb0d46\nMOV             R6, R1                                                 ; +0xc, 0xb0d48\nMOV             R4, R0                                                 ; +0xe, 0xb0d4a\nMOVS            R0, #0                                                 ; +0x10, 0xb0d4c\nADD             R1, SP, #0x110+var_4                                   ; +0x12, 0xb0d4e\nADD             R2, SP, #0x110+var_8                                   ; +0x14, 0xb0d50\nSTR             R0, [SP,#0x110+var_8]                                  ; +0x16, 0xb0d52\nMOV             R0, R4                                                 ; +0x18, 0xb0d54\nBLX             j__ZN4FMOD4DSPI8validateEPNS_3DSPEPPS0_PNS_15SystemLockScopeE; FMOD::DSPI::validate(FMOD::DSP *,FMOD::DSPI**,FMOD::SystemLockScope *) ; +0x1a, 0xb0d56\nMOV             R5, R0                                                 ; +0x1e, 0xb0d5a\nCBNZ            R0, loc_B0D6E                                          ; +0x20, 0xb0d5c\nLDR             R0, [SP,#0x110+var_4]                                  ; +0x22, 0xb0d5e\nMOV             R1, R6                                                 ; +0x24, 0xb0d60\nMOV             R2, R8                                                 ; +0x26, 0xb0d62\nMOVS            R3, #4                                                 ; +0x28, 0xb0d64\nBL              sub_AAEE0                                              ; +0x2a, 0xb0d66\nMOV             R5, R0                                                 ; +0x2e, 0xb0d6a\nCBZ             R0, loc_B0DA2                                          ; +0x30, 0xb0d6c\nLDR             R0, =(off_E6144 - 0xB0D74)                             ; +0x32, 0xb0d6e\nADD             R0, PC; off_E6144                                      ; +0x34, 0xb0d70\nLDR             R0, [R0]; off_E8000                                    ; +0x36, 0xb0d72\nLDR             R0, [R0]; dword_F2488                                  ; +0x38, 0xb0d74\nLDRB            R0, [R0,#(dword_F249C - 0xF2488)]                      ; +0x3a, 0xb0d76\nLSLS            R0, R0, #0x18                                          ; +0x3c, 0xb0d78\nBPL             loc_B0DA4                                              ; +0x3e, 0xb0d7a\nADD.W           R9, SP, #0x110+var_108                                 ; +0x40, 0xb0d7c\nMOV.W           R1, #0x100                                             ; +0x44, 0xb0d80\nMOV             R2, R6                                                 ; +0x48, 0xb0d84\nMOV             R3, R8                                                 ; +0x4a, 0xb0d86\nMOV             R0, R9                                                 ; +0x4c, 0xb0d88\nBL              sub_B0DBC                                              ; +0x4e, 0xb0d8a\nSTR.W           R9, [SP,#0x110+var_110]                                ; +0x52, 0xb0d8e\nMOV             R0, R5                                                 ; +0x56, 0xb0d92\nLDR             R3, =(aDspDisconnectf - 0xB0D9E); \"DSP::disconnectFrom\" ... ; +0x58, 0xb0d94\nMOVS            R1, #7                                                 ; +0x5a, 0xb0d96\nMOV             R2, R4                                                 ; +0x5c, 0xb0d98\nADD             R3, PC; \"DSP::disconnectFrom\"                          ; +0x5e, 0xb0d9a\nBL              sub_BAB40                                              ; +0x60, 0xb0d9c\nB               loc_B0DA4                                              ; +0x64, 0xb0da0\nMOVS            R5, #0                                                 ; +0x66, 0xb0da2\nADD             R0, SP, #0x110+var_8                                   ; +0x68, 0xb0da4\nBL              sub_444C0                                              ; +0x6a, 0xb0da6\nMOV             R0, R5                                                 ; +0x6e, 0xb0daa\nADD             SP, SP, #0x110                                         ; +0x70, 0xb0dac\nPOP.W           {R8,R9,R11}                                            ; +0x72, 0xb0dae\nPOP             {R4-R7,PC}                                             ; +0x76, 0xb0db2", "xrefs": ["FMOD::DSP::disconnectFrom @ 0xe0db8"], "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"}