{"type": "func", "start": 6443119872, "end": 6443120052, "name": "FMOD::DSP::reset", "pseudocode": "// \n// FMOD::DSP::reset from 0x1800a3500 to 0x1800a35b4 (180 bytes)\n// \n// 3 xrefs:\n// > FMOD_DSP_Reset @ 0x1800c5df9\n// > <???> @ 0x180194348\n// > <???> @ 0x1801fb3d0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall FMOD::DSP::reset(__int64 a1)\n{\n  int v1; // edi\n  __int64 v2; // rdx\n  unsigned int v3; // ebx\n  __int64 v4; // r8\n  __int64 v5; // r9\n  __int64 v7; // [rsp+30h] [rbp-128h] BYREF\n  __int64 v8; // [rsp+38h] [rbp-120h] BYREF\n  _BYTE v9[256]; // [rsp+40h] [rbp-118h] BYREF\n\n  v7 = 0;\n  v1 = a1;\n  v3 = FMOD::DSPI::validate(a1, &v8, &v7);\n  if ( (v3 || (v3 = sub_1800992C0(v8, v2, v4, v5)) != 0) && *((char *)off_1801AED20 + 16) < 0 )\n  {\n    v9[0] = 0;\n    sub_1800B20E0(v3, 7, v1, (unsigned int)\"DSP::reset\", (__int64)v9);\n  }\n  if ( v7 )\n    sub_180102320();\n  return v3;\n}", "assembly": "; \n; FMOD::DSP::reset from 0x1800a3500 to 0x1800a35b4 (180 bytes)\n; \n; 3 xrefs:\n; > FMOD_DSP_Reset @ 0x1800c5df9\n; > <???> @ 0x180194348\n; > <???> @ 0x1801fb3d0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1800a3500\npush    rdi                                                            ; +0x5, 0x1800a3505\nsub     rsp, 150h                                                      ; +0x6, 0x1800a3506\nmov     rax, cs:__security_cookie                                      ; +0xd, 0x1800a350d\nxor     rax, rsp                                                       ; +0x14, 0x1800a3514\nmov     [rsp+158h+var_18], rax                                         ; +0x17, 0x1800a3517\nlea     r8, [rsp+158h+var_128]                                         ; +0x1f, 0x1800a351f\nmov     [rsp+158h+var_128], 0                                          ; +0x24, 0x1800a3524\nlea     rdx, [rsp+158h+var_120]                                        ; +0x2d, 0x1800a352d\nmov     rdi, rcx                                                       ; +0x32, 0x1800a3532\ncall    ?validate@DSPI@FMOD@@SA?AW4FMOD_RESULT@@PEAVDSP@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::DSPI::validate(FMOD::DSP *,FMOD::DSPI * *,FMOD::SystemLockScope *) ; +0x35, 0x1800a3535\nmov     ebx, eax                                                       ; +0x3a, 0x1800a353a\ntest    eax, eax                                                       ; +0x3c, 0x1800a353c\njnz     short loc_1800A3550                                            ; +0x3e, 0x1800a353e\nmov     rcx, [rsp+158h+var_120]                                        ; +0x40, 0x1800a3540\ncall    sub_1800992C0                                                  ; +0x45, 0x1800a3545\nmov     ebx, eax                                                       ; +0x4a, 0x1800a354a\ntest    eax, eax                                                       ; +0x4c, 0x1800a354c\njz      short loc_1800A3582                                            ; +0x4e, 0x1800a354e\nmov     rax, cs:off_1801AED20                                          ; +0x50, 0x1800a3550\ntest    byte ptr [rax+10h], 80h                                        ; +0x57, 0x1800a3557\njz      short loc_1800A3582                                            ; +0x5b, 0x1800a355b\nlea     rax, [rsp+158h+var_118]                                        ; +0x5d, 0x1800a355d\nmov     [rsp+158h+var_118], 0                                          ; +0x62, 0x1800a3562\nlea     r9, aDspReset; \"DSP::reset\"                                    ; +0x67, 0x1800a3567\nmov     [rsp+158h+var_138], rax                                        ; +0x6e, 0x1800a356e\nmov     r8, rdi                                                        ; +0x73, 0x1800a3573\nmov     edx, 7                                                         ; +0x76, 0x1800a3576\nmov     ecx, ebx                                                       ; +0x7b, 0x1800a357b\ncall    sub_1800B20E0                                                  ; +0x7d, 0x1800a357d\nmov     rcx, [rsp+158h+var_128]                                        ; +0x82, 0x1800a3582\ntest    rcx, rcx                                                       ; +0x87, 0x1800a3587\njz      short loc_1800A3591                                            ; +0x8a, 0x1800a358a\ncall    sub_180102320                                                  ; +0x8c, 0x1800a358c\nmov     eax, ebx                                                       ; +0x91, 0x1800a3591\nmov     rcx, [rsp+158h+var_18]                                         ; +0x93, 0x1800a3593\nxor     rcx, rsp; StackCookie                                          ; +0x9b, 0x1800a359b\ncall    __security_check_cookie                                        ; +0x9e, 0x1800a359e\nmov     rbx, [rsp+158h+arg_8]                                          ; +0xa3, 0x1800a35a3\nadd     rsp, 150h                                                      ; +0xab, 0x1800a35ab\npop     rdi                                                            ; +0xb2, 0x1800a35b2\nretn                                                                   ; +0xb3, 0x1800a35b3", "xrefs": ["FMOD_DSP_Reset @ 0x1800c5df9", "<???> @ 0x180194348", "<???> @ 0x1801fb3d0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}