{"type": "func", "start": 6443121424, "end": 6443121674, "name": "FMOD::DSP::setParameterBool", "pseudocode": "// \n// FMOD::DSP::setParameterBool from 0x1800a3b10 to 0x1800a3c0a (250 bytes)\n// \n// 5 xrefs:\n// > FMOD_DSP_SetParameterBool @ 0x1800c5e90\n// > <???> @ 0x1801863f4\n// > <???> @ 0x180186404\n// > <???> @ 0x180194348\n// > <???> @ 0x1801fb478\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::setParameterBool(__int64 a1, unsigned int a2, unsigned __int8 a3)\n{\n  int v5; // r14d\n  unsigned int v6; // esi\n  __int64 result; // rax\n  int v8; // ebx\n  int v9; // eax\n  __int64 v10; // [rsp+30h] [rbp-148h] BYREF\n  _BYTE v11[256]; // [rsp+40h] [rbp-138h] BYREF\n\n  v5 = a1;\n  v6 = FMOD::DSPI::validate(a1, &v10, nullptr);\n  if ( v6 || (result = sub_18009BC60(v10, a2, a3), (v6 = result) != 0) )\n  {\n    if ( *((char *)off_1801AED20 + 16) < 0 )\n    {\n      v8 = sub_1800F2EC0(v11, 256, a2);\n      v9 = sub_1800F2F70(&v11[v8]);\n      sub_1800F3320(&v11[v9 + v8]);\n      sub_1800B20E0(v6, 7, v5, (unsigned int)\"DSP::setParameterBool\", (__int64)v11);\n    }\n    return v6;\n  }\n  return result;\n}", "assembly": "; \n; FMOD::DSP::setParameterBool from 0x1800a3b10 to 0x1800a3c0a (250 bytes)\n; \n; 5 xrefs:\n; > FMOD_DSP_SetParameterBool @ 0x1800c5e90\n; > <???> @ 0x1801863f4\n; > <???> @ 0x180186404\n; > <???> @ 0x180194348\n; > <???> @ 0x1801fb478\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\npush    rbx                                                            ; +0x0, 0x1800a3b10\npush    rbp                                                            ; +0x2, 0x1800a3b12\npush    rsi                                                            ; +0x3, 0x1800a3b13\npush    r14                                                            ; +0x4, 0x1800a3b14\nsub     rsp, 158h                                                      ; +0x6, 0x1800a3b16\nmov     rax, cs:__security_cookie                                      ; +0xd, 0x1800a3b1d\nxor     rax, rsp                                                       ; +0x14, 0x1800a3b24\nmov     [rsp+178h+var_38], rax                                         ; +0x17, 0x1800a3b27\nmovzx   ebp, r8b                                                       ; +0x1f, 0x1800a3b2f\nmov     ebx, edx                                                       ; +0x23, 0x1800a3b33\nxor     r8d, r8d                                                       ; +0x25, 0x1800a3b35\nlea     rdx, [rsp+178h+var_148]                                        ; +0x28, 0x1800a3b38\nmov     r14, rcx                                                       ; +0x2d, 0x1800a3b3d\ncall    ?validate@DSPI@FMOD@@SA?AW4FMOD_RESULT@@PEAVDSP@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::DSPI::validate(FMOD::DSP *,FMOD::DSPI * *,FMOD::SystemLockScope *) ; +0x30, 0x1800a3b40\nmov     esi, eax                                                       ; +0x35, 0x1800a3b45\ntest    eax, eax                                                       ; +0x37, 0x1800a3b47\njnz     short loc_1800A3B65                                            ; +0x39, 0x1800a3b49\nmov     rcx, [rsp+178h+var_148]                                        ; +0x3b, 0x1800a3b4b\nmovzx   r8d, bpl                                                       ; +0x40, 0x1800a3b50\nmov     edx, ebx                                                       ; +0x44, 0x1800a3b54\ncall    sub_18009BC60                                                  ; +0x46, 0x1800a3b56\nmov     esi, eax                                                       ; +0x4b, 0x1800a3b5b\ntest    eax, eax                                                       ; +0x4d, 0x1800a3b5d\njz      loc_1800A3BED                                                  ; +0x4f, 0x1800a3b5f\nmov     rax, cs:off_1801AED20                                          ; +0x55, 0x1800a3b65\ntest    byte ptr [rax+10h], 80h                                        ; +0x5c, 0x1800a3b6c\njz      short loc_1800A3BEB                                            ; +0x60, 0x1800a3b70\nmov     [rsp+178h+var_28], rdi                                         ; +0x62, 0x1800a3b72\nlea     rcx, [rsp+178h+var_138]                                        ; +0x6a, 0x1800a3b7a\nmov     edi, 100h                                                      ; +0x6f, 0x1800a3b7f\nmov     r8d, ebx                                                       ; +0x74, 0x1800a3b84\nmov     edx, edi                                                       ; +0x77, 0x1800a3b87\ncall    sub_1800F2EC0                                                  ; +0x79, 0x1800a3b89\nmovsxd  rbx, eax                                                       ; +0x7e, 0x1800a3b8e\nlea     rcx, [rsp+178h+var_138]                                        ; +0x81, 0x1800a3b91\nmov     edx, edi                                                       ; +0x86, 0x1800a3b96\nlea     r8, asc_18014572C; \", \"                                        ; +0x88, 0x1800a3b98\nsub     edx, ebx                                                       ; +0x8f, 0x1800a3b9f\nadd     rcx, rbx; void *                                               ; +0x91, 0x1800a3ba1\ncall    sub_1800F2F70                                                  ; +0x94, 0x1800a3ba4\nadd     ebx, eax                                                       ; +0x99, 0x1800a3ba9\nlea     rcx, [rsp+178h+var_138]                                        ; +0x9b, 0x1800a3bab\nmovsxd  rax, ebx                                                       ; +0xa0, 0x1800a3bb0\nsub     edi, ebx                                                       ; +0xa3, 0x1800a3bb3\nadd     rcx, rax; void *                                               ; +0xa5, 0x1800a3bb5\nmov     edx, edi                                                       ; +0xa8, 0x1800a3bb8\nmovzx   r8d, bpl                                                       ; +0xaa, 0x1800a3bba\ncall    sub_1800F3320                                                  ; +0xae, 0x1800a3bbe\nlea     rax, [rsp+178h+var_138]                                        ; +0xb3, 0x1800a3bc3\nmov     r8, r14                                                        ; +0xb8, 0x1800a3bc8\nlea     r9, aDspSetparamete; \"DSP::setParameterBool\"                   ; +0xbb, 0x1800a3bcb\nmov     [rsp+178h+var_158], rax                                        ; +0xc2, 0x1800a3bd2\nmov     edx, 7                                                         ; +0xc7, 0x1800a3bd7\nmov     ecx, esi                                                       ; +0xcc, 0x1800a3bdc\ncall    sub_1800B20E0                                                  ; +0xce, 0x1800a3bde\nmov     rdi, [rsp+178h+var_28]                                         ; +0xd3, 0x1800a3be3\nmov     eax, esi                                                       ; +0xdb, 0x1800a3beb\nmov     rcx, [rsp+178h+var_38]                                         ; +0xdd, 0x1800a3bed\nxor     rcx, rsp; StackCookie                                          ; +0xe5, 0x1800a3bf5\ncall    __security_check_cookie                                        ; +0xe8, 0x1800a3bf8\nadd     rsp, 158h                                                      ; +0xed, 0x1800a3bfd\npop     r14                                                            ; +0xf4, 0x1800a3c04\npop     rsi                                                            ; +0xf6, 0x1800a3c06\npop     rbp                                                            ; +0xf7, 0x1800a3c07\npop     rbx                                                            ; +0xf8, 0x1800a3c08\nretn                                                                   ; +0xf9, 0x1800a3c09", "xrefs": ["FMOD_DSP_SetParameterBool @ 0x1800c5e90", "<???> @ 0x1801863f4", "<???> @ 0x180186404", "<???> @ 0x180194348", "<???> @ 0x1801fb478"], "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"}