{"type": "func", "start": 6442807344, "end": 6442807552, "name": "FMOD::DSPConnection::getMix", "pseudocode": "// \n// FMOD::DSPConnection::getMix from 0x180057030 to 0x180057100 (208 bytes)\n// \n// 4 xrefs:\n// > FMOD_DSPConnection_GetMix @ 0x1800c5a79\n// > <???> @ 0x180194348\n// > <???> @ 0x1801f8df0\n// > <???> @ 0x1801f8dfc\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::getMix(__int64 a1, __int64 a2)\n{\n  int v3; // esi\n  unsigned int v4; // ebx\n  __int64 v6; // [rsp+30h] [rbp-128h] BYREF\n  __int64 v7; // [rsp+38h] [rbp-120h] BYREF\n  _BYTE v8[256]; // [rsp+40h] [rbp-118h] BYREF\n\n  v6 = 0;\n  v3 = a1;\n  v4 = sub_18005AF70(a1, &v7, &v6);\n  if ( (v4 || (v4 = sub_180058010(v7, a2)) != 0) && *((char *)off_1801AED20 + 16) < 0 )\n  {\n    sub_1800F30A0(v8, 256, a2);\n    sub_1800B20E0(v4, 8, v3, (unsigned int)\"DSPConnection::getMix\", (__int64)v8);\n  }\n  if ( v6 )\n    sub_180102320();\n  return v4;\n}", "assembly": "; \n; FMOD::DSPConnection::getMix from 0x180057030 to 0x180057100 (208 bytes)\n; \n; 4 xrefs:\n; > FMOD_DSPConnection_GetMix @ 0x1800c5a79\n; > <???> @ 0x180194348\n; > <???> @ 0x1801f8df0\n; > <???> @ 0x1801f8dfc\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, 0x180057030\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x180057035\npush    rdi                                                            ; +0xa, 0x18005703a\nsub     rsp, 150h                                                      ; +0xb, 0x18005703b\nmov     rax, cs:__security_cookie                                      ; +0x12, 0x180057042\nxor     rax, rsp                                                       ; +0x19, 0x180057049\nmov     [rsp+158h+var_18], rax                                         ; +0x1c, 0x18005704c\nmov     rdi, rdx                                                       ; +0x24, 0x180057054\nmov     [rsp+158h+var_128], 0                                          ; +0x27, 0x180057057\nlea     rdx, [rsp+158h+var_120]                                        ; +0x30, 0x180057060\nmov     rsi, rcx                                                       ; +0x35, 0x180057065\nlea     r8, [rsp+158h+var_128]                                         ; +0x38, 0x180057068\ncall    sub_18005AF70                                                  ; +0x3d, 0x18005706d\nmov     ebx, eax                                                       ; +0x42, 0x180057072\ntest    eax, eax                                                       ; +0x44, 0x180057074\njnz     short loc_18005708B                                            ; +0x46, 0x180057076\nmov     rcx, [rsp+158h+var_120]                                        ; +0x48, 0x180057078\nmov     rdx, rdi                                                       ; +0x4d, 0x18005707d\ncall    sub_180058010                                                  ; +0x50, 0x180057080\nmov     ebx, eax                                                       ; +0x55, 0x180057085\ntest    eax, eax                                                       ; +0x57, 0x180057087\njz      short loc_1800570CA                                            ; +0x59, 0x180057089\nmov     rax, cs:off_1801AED20                                          ; +0x5b, 0x18005708b\ntest    byte ptr [rax+10h], 80h                                        ; +0x62, 0x180057092\njz      short loc_1800570CA                                            ; +0x66, 0x180057096\nmov     r8, rdi                                                        ; +0x68, 0x180057098\nlea     rcx, [rsp+158h+var_118]                                        ; +0x6b, 0x18005709b\nmov     edx, 100h                                                      ; +0x70, 0x1800570a0\ncall    sub_1800F30A0                                                  ; +0x75, 0x1800570a5\nlea     rax, [rsp+158h+var_118]                                        ; +0x7a, 0x1800570aa\nmov     r8, rsi                                                        ; +0x7f, 0x1800570af\nlea     r9, aDspconnectionG_0; \"DSPConnection::getMix\"                 ; +0x82, 0x1800570b2\nmov     [rsp+158h+var_138], rax                                        ; +0x89, 0x1800570b9\nmov     edx, 8                                                         ; +0x8e, 0x1800570be\nmov     ecx, ebx                                                       ; +0x93, 0x1800570c3\ncall    sub_1800B20E0                                                  ; +0x95, 0x1800570c5\nmov     rcx, [rsp+158h+var_128]                                        ; +0x9a, 0x1800570ca\ntest    rcx, rcx                                                       ; +0x9f, 0x1800570cf\njz      short loc_1800570D9                                            ; +0xa2, 0x1800570d2\ncall    sub_180102320                                                  ; +0xa4, 0x1800570d4\nmov     eax, ebx                                                       ; +0xa9, 0x1800570d9\nmov     rcx, [rsp+158h+var_18]                                         ; +0xab, 0x1800570db\nxor     rcx, rsp; StackCookie                                          ; +0xb3, 0x1800570e3\ncall    __security_check_cookie                                        ; +0xb6, 0x1800570e6\nlea     r11, [rsp+158h+var_8]                                          ; +0xbb, 0x1800570eb\nmov     rbx, [r11+20h]                                                 ; +0xc3, 0x1800570f3\nmov     rsi, [r11+28h]                                                 ; +0xc7, 0x1800570f7\nmov     rsp, r11                                                       ; +0xcb, 0x1800570fb\npop     rdi                                                            ; +0xce, 0x1800570fe\nretn                                                                   ; +0xcf, 0x1800570ff", "xrefs": ["FMOD_DSPConnection_GetMix @ 0x1800c5a79", "<???> @ 0x180194348", "<???> @ 0x1801f8df0", "<???> @ 0x1801f8dfc"], "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"}