{"type": "func", "start": 6442808640, "end": 6442808866, "name": "FMOD::DSPConnection::setMix", "pseudocode": "// \n// FMOD::DSPConnection::setMix from 0x180057540 to 0x180057622 (226 bytes)\n// \n// 4 xrefs:\n// > FMOD_DSPConnection_SetMix @ 0x1800c5ac9\n// > <???> @ 0x180194348\n// > <???> @ 0x1801f8e5c\n// > <???> @ 0x1801f8e68\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::DSPConnection::setMix(__int64 a1)\n{\n  int v1; // edi\n  int v2; // edx\n  unsigned int v3; // ebx\n  int v4; // r9d\n  __int64 v6; // [rsp+30h] [rbp-138h] BYREF\n  __int64 v7; // [rsp+38h] [rbp-130h] BYREF\n  _BYTE v8[256]; // [rsp+40h] [rbp-128h] BYREF\n\n  v6 = 0;\n  v1 = a1;\n  v3 = sub_18005AF70(a1, &v7, &v6);\n  if ( v3 || (LOBYTE(v4) = 1, (v3 = sub_18005A4F0(v7, v2, 64, v4, 0)) != 0) )\n  {\n    if ( *((char *)off_1801AED20 + 16) < 0 )\n    {\n      sub_1800F2F20(v8, 256);\n      sub_1800B20E0(v3, 8, v1, (unsigned int)\"DSPConnection::setMix\", (__int64)v8);\n    }\n  }\n  if ( v6 )\n    sub_180102320();\n  return v3;\n}", "assembly": "; \n; FMOD::DSPConnection::setMix from 0x180057540 to 0x180057622 (226 bytes)\n; \n; 4 xrefs:\n; > FMOD_DSPConnection_SetMix @ 0x1800c5ac9\n; > <???> @ 0x180194348\n; > <???> @ 0x1801f8e5c\n; > <???> @ 0x1801f8e68\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_10], rbx                                              ; +0x0, 0x180057540\npush    rdi                                                            ; +0x5, 0x180057545\nsub     rsp, 160h                                                      ; +0x6, 0x180057546\nmovaps  [rsp+168h+var_18], xmm6                                        ; +0xd, 0x18005754d\nmov     rax, cs:__security_cookie                                      ; +0x15, 0x180057555\nxor     rax, rsp                                                       ; +0x1c, 0x18005755c\nmov     [rsp+168h+var_28], rax                                         ; +0x1f, 0x18005755f\nlea     r8, [rsp+168h+var_138]                                         ; +0x27, 0x180057567\nmov     [rsp+168h+var_138], 0                                          ; +0x2c, 0x18005756c\nlea     rdx, [rsp+168h+var_130]                                        ; +0x35, 0x180057575\nmovaps  xmm6, xmm1                                                     ; +0x3a, 0x18005757a\nmov     rdi, rcx                                                       ; +0x3d, 0x18005757d\ncall    sub_18005AF70                                                  ; +0x40, 0x180057580\nmov     ebx, eax                                                       ; +0x45, 0x180057585\ntest    eax, eax                                                       ; +0x47, 0x180057587\njnz     short loc_1800575A9                                            ; +0x49, 0x180057589\nmov     rcx, [rsp+168h+var_130]                                        ; +0x4b, 0x18005758b\nlea     r8d, [rax+40h]                                                 ; +0x50, 0x180057590\nmov     r9b, 1                                                         ; +0x54, 0x180057594\nmov     byte ptr [rsp+168h+var_148], al                                ; +0x57, 0x180057597\nmovaps  xmm1, xmm6                                                     ; +0x5b, 0x18005759b\ncall    sub_18005A4F0                                                  ; +0x5e, 0x18005759e\nmov     ebx, eax                                                       ; +0x63, 0x1800575a3\ntest    eax, eax                                                       ; +0x65, 0x1800575a5\njz      short loc_1800575E8                                            ; +0x67, 0x1800575a7\nmov     rax, cs:off_1801AED20                                          ; +0x69, 0x1800575a9\ntest    byte ptr [rax+10h], 80h                                        ; +0x70, 0x1800575b0\njz      short loc_1800575E8                                            ; +0x74, 0x1800575b4\nmovaps  xmm2, xmm6                                                     ; +0x76, 0x1800575b6\nlea     rcx, [rsp+168h+var_128]                                        ; +0x79, 0x1800575b9\nmov     edx, 100h                                                      ; +0x7e, 0x1800575be\ncall    sub_1800F2F20                                                  ; +0x83, 0x1800575c3\nlea     rax, [rsp+168h+var_128]                                        ; +0x88, 0x1800575c8\nmov     r8, rdi                                                        ; +0x8d, 0x1800575cd\nlea     r9, aDspconnectionS; \"DSPConnection::setMix\"                   ; +0x90, 0x1800575d0\nmov     [rsp+168h+var_148], rax                                        ; +0x97, 0x1800575d7\nmov     edx, 8                                                         ; +0x9c, 0x1800575dc\nmov     ecx, ebx                                                       ; +0xa1, 0x1800575e1\ncall    sub_1800B20E0                                                  ; +0xa3, 0x1800575e3\nmov     rcx, [rsp+168h+var_138]                                        ; +0xa8, 0x1800575e8\ntest    rcx, rcx                                                       ; +0xad, 0x1800575ed\njz      short loc_1800575F7                                            ; +0xb0, 0x1800575f0\ncall    sub_180102320                                                  ; +0xb2, 0x1800575f2\nmov     eax, ebx                                                       ; +0xb7, 0x1800575f7\nmov     rcx, [rsp+168h+var_28]                                         ; +0xb9, 0x1800575f9\nxor     rcx, rsp; StackCookie                                          ; +0xc1, 0x180057601\ncall    __security_check_cookie                                        ; +0xc4, 0x180057604\nmov     rbx, [rsp+168h+arg_10]                                         ; +0xc9, 0x180057609\nmovaps  xmm6, [rsp+168h+var_18]                                        ; +0xd1, 0x180057611\nadd     rsp, 160h                                                      ; +0xd9, 0x180057619\npop     rdi                                                            ; +0xe0, 0x180057620\nretn                                                                   ; +0xe1, 0x180057621", "xrefs": ["FMOD_DSPConnection_SetMix @ 0x1800c5ac9", "<???> @ 0x180194348", "<???> @ 0x1801f8e5c", "<???> @ 0x1801f8e68"], "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"}