{"type": "func", "start": 6443160480, "end": 6443160685, "name": "FMOD::System::getDefaultMixMatrix", "pseudocode": "// \n// FMOD::System::getDefaultMixMatrix from 0x1800ad3a0 to 0x1800ad46d (205 bytes)\n// \n// 3 xrefs:\n// > FMOD_System_GetDefaultMixMatrix @ 0x1800c6adb\n// > <???> @ 0x180194348\n// > <???> @ 0x1801fc3c0\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::System::getDefaultMixMatrix(__int64 a1, unsigned int a2, unsigned int a3, __int64 a4, int a5)\n{\n  int v8; // edi\n  unsigned int v9; // ebx\n  __int64 v11; // [rsp+30h] [rbp-148h] BYREF\n  __int64 v12; // [rsp+38h] [rbp-140h] BYREF\n  _BYTE v13[256]; // [rsp+40h] [rbp-138h] BYREF\n\n  v11 = 0;\n  v8 = a1;\n  v9 = FMOD::SystemI::validate(a1, &v12, &v11);\n  if ( (v9 || (v9 = sub_180100F90(v12, a2, a3, a4, a5)) != 0) && *((char *)off_1801AED20 + 16) < 0 )\n  {\n    v13[0] = 0;\n    sub_1800B20E0(v9, 1, v8, (unsigned int)\"System::getDefaultMixMatrix\", (__int64)v13);\n  }\n  if ( v11 )\n    sub_180102320(v11);\n  return v9;\n}", "assembly": "; \n; FMOD::System::getDefaultMixMatrix from 0x1800ad3a0 to 0x1800ad46d (205 bytes)\n; \n; 3 xrefs:\n; > FMOD_System_GetDefaultMixMatrix @ 0x1800c6adb\n; > <???> @ 0x180194348\n; > <???> @ 0x1801fc3c0\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, 0x1800ad3a0\npush    rbp                                                            ; +0x2, 0x1800ad3a2\npush    rsi                                                            ; +0x3, 0x1800ad3a3\npush    rdi                                                            ; +0x4, 0x1800ad3a4\npush    r14                                                            ; +0x5, 0x1800ad3a5\nsub     rsp, 150h                                                      ; +0x7, 0x1800ad3a7\nmov     rax, cs:__security_cookie                                      ; +0xe, 0x1800ad3ae\nxor     rax, rsp                                                       ; +0x15, 0x1800ad3b5\nmov     [rsp+178h+var_38], rax                                         ; +0x18, 0x1800ad3b8\nmov     ebp, r8d                                                       ; +0x20, 0x1800ad3c0\nmov     [rsp+178h+var_148], 0                                          ; +0x23, 0x1800ad3c3\nmov     esi, edx                                                       ; +0x2c, 0x1800ad3cc\nlea     r8, [rsp+178h+var_148]                                         ; +0x2e, 0x1800ad3ce\nlea     rdx, [rsp+178h+var_140]                                        ; +0x33, 0x1800ad3d3\nmov     r14, r9                                                        ; +0x38, 0x1800ad3d8\nmov     rdi, rcx                                                       ; +0x3b, 0x1800ad3db\ncall    ?validate@SystemI@FMOD@@SA?AW4FMOD_RESULT@@PEAVSystem@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::SystemI::validate(FMOD::System *,FMOD::SystemI * *,FMOD::SystemLockScope *) ; +0x3e, 0x1800ad3de\nmov     ebx, eax                                                       ; +0x43, 0x1800ad3e3\ntest    eax, eax                                                       ; +0x45, 0x1800ad3e5\njnz     short loc_1800AD40C                                            ; +0x47, 0x1800ad3e7\nmov     eax, [rsp+178h+arg_20]                                         ; +0x49, 0x1800ad3e9\nmov     r9, r14                                                        ; +0x50, 0x1800ad3f0\nmov     rcx, [rsp+178h+var_140]                                        ; +0x53, 0x1800ad3f3\nmov     r8d, ebp                                                       ; +0x58, 0x1800ad3f8\nmov     edx, esi                                                       ; +0x5b, 0x1800ad3fb\nmov     dword ptr [rsp+178h+var_158], eax                              ; +0x5d, 0x1800ad3fd\ncall    sub_180100F90                                                  ; +0x61, 0x1800ad401\nmov     ebx, eax                                                       ; +0x66, 0x1800ad406\ntest    eax, eax                                                       ; +0x68, 0x1800ad408\njz      short loc_1800AD43E                                            ; +0x6a, 0x1800ad40a\nmov     rax, cs:off_1801AED20                                          ; +0x6c, 0x1800ad40c\ntest    byte ptr [rax+10h], 80h                                        ; +0x73, 0x1800ad413\njz      short loc_1800AD43E                                            ; +0x77, 0x1800ad417\nlea     rax, [rsp+178h+var_138]                                        ; +0x79, 0x1800ad419\nmov     [rsp+178h+var_138], 0                                          ; +0x7e, 0x1800ad41e\nlea     r9, aSystemGetdefau; \"System::getDefaultMixMatrix\"             ; +0x83, 0x1800ad423\nmov     [rsp+178h+var_158], rax                                        ; +0x8a, 0x1800ad42a\nmov     r8, rdi                                                        ; +0x8f, 0x1800ad42f\nmov     edx, 1                                                         ; +0x92, 0x1800ad432\nmov     ecx, ebx                                                       ; +0x97, 0x1800ad437\ncall    sub_1800B20E0                                                  ; +0x99, 0x1800ad439\nmov     rcx, [rsp+178h+var_148]                                        ; +0x9e, 0x1800ad43e\ntest    rcx, rcx                                                       ; +0xa3, 0x1800ad443\njz      short loc_1800AD44D                                            ; +0xa6, 0x1800ad446\ncall    sub_180102320                                                  ; +0xa8, 0x1800ad448\nmov     eax, ebx                                                       ; +0xad, 0x1800ad44d\nmov     rcx, [rsp+178h+var_38]                                         ; +0xaf, 0x1800ad44f\nxor     rcx, rsp; StackCookie                                          ; +0xb7, 0x1800ad457\ncall    __security_check_cookie                                        ; +0xba, 0x1800ad45a\nadd     rsp, 150h                                                      ; +0xbf, 0x1800ad45f\npop     r14                                                            ; +0xc6, 0x1800ad466\npop     rdi                                                            ; +0xc8, 0x1800ad468\npop     rsi                                                            ; +0xc9, 0x1800ad469\npop     rbp                                                            ; +0xca, 0x1800ad46a\npop     rbx                                                            ; +0xcb, 0x1800ad46b\nretn                                                                   ; +0xcc, 0x1800ad46c", "xrefs": ["FMOD_System_GetDefaultMixMatrix @ 0x1800c6adb", "<???> @ 0x180194348", "<???> @ 0x1801fc3c0"], "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"}