{"type": "func", "start": 726744, "end": 726834, "name": "FMOD::DSP::reset", "pseudocode": "// \n// FMOD::DSP::reset from 0xb16d8 to 0xb1732 (90 bytes)\n// \n// 1 xrefs:\n// > FMOD::DSP::reset @ 0xe0ea8\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::reset(FMOD::DSP *this)\n{\n  int v2; // r1\n  int v3; // r2\n  int v4; // r3\n  int v5; // r4\n  _BYTE v7[256]; // [sp+8h] [bp-110h] BYREF\n  int v8; // [sp+108h] [bp-10h] BYREF\n  int v9; // [sp+10Ch] [bp-Ch] BYREF\n\n  v8 = 0;\n  v5 = FMOD::DSPI::validate(this, &v9, &v8);\n  if ( v5 || (v5 = sub_AB144(v9, v2, v3, v4)) != 0 )\n  {\n    if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )\n    {\n      v7[0] = 0;\n      sub_BAB40(v5, 7, this, \"DSP::reset\", v7);\n    }\n  }\n  else\n  {\n    v5 = 0;\n  }\n  sub_444C0(&v8);\n  return v5;\n}", "assembly": "; \n; FMOD::DSP::reset from 0xb16d8 to 0xb1732 (90 bytes)\n; \n; 1 xrefs:\n; > FMOD::DSP::reset @ 0xe0ea8\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,R5,R7,LR}                                          ; +0x0, 0xb16d8\nADD             R7, SP, #8                                             ; +0x2, 0xb16da\nSUB             SP, SP, #0x110                                         ; +0x4, 0xb16dc\nMOV             R5, R0                                                 ; +0x6, 0xb16de\nMOVS            R0, #0                                                 ; +0x8, 0xb16e0\nADD             R1, SP, #0x110+var_4                                   ; +0xa, 0xb16e2\nADD             R2, SP, #0x110+var_8                                   ; +0xc, 0xb16e4\nSTR             R0, [SP,#0x110+var_8]                                  ; +0xe, 0xb16e6\nMOV             R0, R5                                                 ; +0x10, 0xb16e8\nBLX             j__ZN4FMOD4DSPI8validateEPNS_3DSPEPPS0_PNS_15SystemLockScopeE; FMOD::DSPI::validate(FMOD::DSP *,FMOD::DSPI**,FMOD::SystemLockScope *) ; +0x12, 0xb16ea\nMOV             R4, R0                                                 ; +0x16, 0xb16ee\nCBNZ            R0, loc_B16FC                                          ; +0x18, 0xb16f0\nLDR             R0, [SP,#0x110+var_4]                                  ; +0x1a, 0xb16f2\nBL              sub_AB144                                              ; +0x1c, 0xb16f4\nMOV             R4, R0                                                 ; +0x20, 0xb16f8\nCBZ             R0, loc_B1724                                          ; +0x22, 0xb16fa\nLDR             R0, =(off_E6144 - 0xB1702)                             ; +0x24, 0xb16fc\nADD             R0, PC; off_E6144                                      ; +0x26, 0xb16fe\nLDR             R0, [R0]; off_E8000                                    ; +0x28, 0xb1700\nLDR             R0, [R0]; dword_F2488                                  ; +0x2a, 0xb1702\nLDRB            R0, [R0,#(dword_F249C - 0xF2488)]                      ; +0x2c, 0xb1704\nLSLS            R0, R0, #0x18                                          ; +0x2e, 0xb1706\nBPL             loc_B1726                                              ; +0x30, 0xb1708\nMOVS            R0, #0                                                 ; +0x32, 0xb170a\nMOVS            R1, #7                                                 ; +0x34, 0xb170c\nSTRB.W          R0, [SP,#0x110+var_108]                                ; +0x36, 0xb170e\nADD             R0, SP, #0x110+var_108                                 ; +0x3a, 0xb1712\nSTR             R0, [SP,#0x110+var_110]                                ; +0x3c, 0xb1714\nMOV             R0, R4                                                 ; +0x3e, 0xb1716\nLDR             R3, =(aDspReset - 0xB1720); \"DSP::reset\" ...           ; +0x40, 0xb1718\nMOV             R2, R5                                                 ; +0x42, 0xb171a\nADD             R3, PC; \"DSP::reset\"                                   ; +0x44, 0xb171c\nBL              sub_BAB40                                              ; +0x46, 0xb171e\nB               loc_B1726                                              ; +0x4a, 0xb1722\nMOVS            R4, #0                                                 ; +0x4c, 0xb1724\nADD             R0, SP, #0x110+var_8                                   ; +0x4e, 0xb1726\nBL              sub_444C0                                              ; +0x50, 0xb1728\nMOV             R0, R4                                                 ; +0x54, 0xb172c\nADD             SP, SP, #0x110                                         ; +0x56, 0xb172e\nPOP             {R4,R5,R7,PC}                                          ; +0x58, 0xb1730", "xrefs": ["FMOD::DSP::reset @ 0xe0ea8"], "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"}