{"type": "func", "start": 6443164528, "end": 6443164736, "name": "FMOD::System::getOutputByPlugin", "pseudocode": "// \n// FMOD::System::getOutputByPlugin from 0x1800ae370 to 0x1800ae440 (208 bytes)\n// \n// 4 xrefs:\n// > FMOD_System_GetOutputByPlugin @ 0x1800c6bc9\n// > <???> @ 0x180194348\n// > <???> @ 0x1801fc570\n// > <???> @ 0x1801fc57c\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::getOutputByPlugin(__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 = FMOD::SystemI::validate(a1, &v7, &v6);\n  if ( (v4 || (v4 = sub_1800E46F0(v7, a2)) != 0) && *((char *)off_1801AED20 + 16) < 0 )\n  {\n    sub_1800F3060(v8, 256, a2);\n    sub_1800B20E0(v4, 1, v3, (unsigned int)\"System::getOutputByPlugin\", (__int64)v8);\n  }\n  if ( v6 )\n    sub_180102320(v6);\n  return v4;\n}", "assembly": "; \n; FMOD::System::getOutputByPlugin from 0x1800ae370 to 0x1800ae440 (208 bytes)\n; \n; 4 xrefs:\n; > FMOD_System_GetOutputByPlugin @ 0x1800c6bc9\n; > <???> @ 0x180194348\n; > <???> @ 0x1801fc570\n; > <???> @ 0x1801fc57c\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, 0x1800ae370\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x1800ae375\npush    rdi                                                            ; +0xa, 0x1800ae37a\nsub     rsp, 150h                                                      ; +0xb, 0x1800ae37b\nmov     rax, cs:__security_cookie                                      ; +0x12, 0x1800ae382\nxor     rax, rsp                                                       ; +0x19, 0x1800ae389\nmov     [rsp+158h+var_18], rax                                         ; +0x1c, 0x1800ae38c\nmov     rdi, rdx                                                       ; +0x24, 0x1800ae394\nmov     [rsp+158h+var_128], 0                                          ; +0x27, 0x1800ae397\nlea     rdx, [rsp+158h+var_120]                                        ; +0x30, 0x1800ae3a0\nmov     rsi, rcx                                                       ; +0x35, 0x1800ae3a5\nlea     r8, [rsp+158h+var_128]                                         ; +0x38, 0x1800ae3a8\ncall    ?validate@SystemI@FMOD@@SA?AW4FMOD_RESULT@@PEAVSystem@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::SystemI::validate(FMOD::System *,FMOD::SystemI * *,FMOD::SystemLockScope *) ; +0x3d, 0x1800ae3ad\nmov     ebx, eax                                                       ; +0x42, 0x1800ae3b2\ntest    eax, eax                                                       ; +0x44, 0x1800ae3b4\njnz     short loc_1800AE3CB                                            ; +0x46, 0x1800ae3b6\nmov     rcx, [rsp+158h+var_120]                                        ; +0x48, 0x1800ae3b8\nmov     rdx, rdi                                                       ; +0x4d, 0x1800ae3bd\ncall    sub_1800E46F0                                                  ; +0x50, 0x1800ae3c0\nmov     ebx, eax                                                       ; +0x55, 0x1800ae3c5\ntest    eax, eax                                                       ; +0x57, 0x1800ae3c7\njz      short loc_1800AE40A                                            ; +0x59, 0x1800ae3c9\nmov     rax, cs:off_1801AED20                                          ; +0x5b, 0x1800ae3cb\ntest    byte ptr [rax+10h], 80h                                        ; +0x62, 0x1800ae3d2\njz      short loc_1800AE40A                                            ; +0x66, 0x1800ae3d6\nmov     r8, rdi                                                        ; +0x68, 0x1800ae3d8\nlea     rcx, [rsp+158h+var_118]                                        ; +0x6b, 0x1800ae3db\nmov     edx, 100h                                                      ; +0x70, 0x1800ae3e0\ncall    sub_1800F3060                                                  ; +0x75, 0x1800ae3e5\nlea     rax, [rsp+158h+var_118]                                        ; +0x7a, 0x1800ae3ea\nmov     r8, rsi                                                        ; +0x7f, 0x1800ae3ef\nlea     r9, aSystemGetoutpu_0; \"System::getOutputByPlugin\"             ; +0x82, 0x1800ae3f2\nmov     [rsp+158h+var_138], rax                                        ; +0x89, 0x1800ae3f9\nmov     edx, 1                                                         ; +0x8e, 0x1800ae3fe\nmov     ecx, ebx                                                       ; +0x93, 0x1800ae403\ncall    sub_1800B20E0                                                  ; +0x95, 0x1800ae405\nmov     rcx, [rsp+158h+var_128]                                        ; +0x9a, 0x1800ae40a\ntest    rcx, rcx                                                       ; +0x9f, 0x1800ae40f\njz      short loc_1800AE419                                            ; +0xa2, 0x1800ae412\ncall    sub_180102320                                                  ; +0xa4, 0x1800ae414\nmov     eax, ebx                                                       ; +0xa9, 0x1800ae419\nmov     rcx, [rsp+158h+var_18]                                         ; +0xab, 0x1800ae41b\nxor     rcx, rsp; StackCookie                                          ; +0xb3, 0x1800ae423\ncall    __security_check_cookie                                        ; +0xb6, 0x1800ae426\nlea     r11, [rsp+158h+var_8]                                          ; +0xbb, 0x1800ae42b\nmov     rbx, [r11+20h]                                                 ; +0xc3, 0x1800ae433\nmov     rsi, [r11+28h]                                                 ; +0xc7, 0x1800ae437\nmov     rsp, r11                                                       ; +0xcb, 0x1800ae43b\npop     rdi                                                            ; +0xce, 0x1800ae43e\nretn                                                                   ; +0xcf, 0x1800ae43f", "xrefs": ["FMOD_System_GetOutputByPlugin @ 0x1800c6bc9", "<???> @ 0x180194348", "<???> @ 0x1801fc570", "<???> @ 0x1801fc57c"], "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"}