{"type": "func", "start": 6443203552, "end": 6443203699, "name": "FMOD_OS_Debug_Output", "pseudocode": "// \n// FMOD_OS_Debug_Output from 0x1800b7be0 to 0x1800b7c73 (147 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180194348\n// > <???> @ 0x1801fd200\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 FMOD_OS_Debug_Output(int a1, ...)\n{\n  _DWORD *v2; // rax\n  _BYTE v4[511]; // [rsp+30h] [rbp-228h] BYREF\n  char v5; // [rsp+22Fh] [rbp-29h]\n  va_list va; // [rsp+268h] [rbp+10h] BYREF\n\n  va_start(va, a1);\n  v4[0] = 0;\n  v2 = sub_1800429F0();\n  common_vsprintf<__crt_stdio_output::standard_base,char>(*v2 | 2, (int)v4, 512, a1, nullptr, (__int64)va);\n  v5 = 0;\n  return sub_1800C0D00(v4);\n}", "assembly": "; \n; FMOD_OS_Debug_Output from 0x1800b7be0 to 0x1800b7c73 (147 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180194348\n; > <???> @ 0x1801fd200\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     r11, rsp                                                       ; +0x0, 0x1800b7be0\nmov     [r11+8], rcx                                                   ; +0x3, 0x1800b7be3\nmov     [r11+10h], rdx                                                 ; +0x7, 0x1800b7be7\nmov     [r11+18h], r8                                                  ; +0xb, 0x1800b7beb\nmov     [r11+20h], r9                                                  ; +0xf, 0x1800b7bef\npush    rbx                                                            ; +0x13, 0x1800b7bf3\npush    rdi                                                            ; +0x14, 0x1800b7bf4\nsub     rsp, 248h                                                      ; +0x15, 0x1800b7bf5\nmov     rax, cs:__security_cookie                                      ; +0x1c, 0x1800b7bfc\nxor     rax, rsp                                                       ; +0x23, 0x1800b7c03\nmov     [rsp+258h+var_28], rax                                         ; +0x26, 0x1800b7c06\nmov     rbx, rcx                                                       ; +0x2e, 0x1800b7c0e\nmov     [rsp+258h+var_228], 0                                          ; +0x31, 0x1800b7c11\nlea     rdi, [r11+10h]                                                 ; +0x36, 0x1800b7c16\ncall    sub_1800429F0                                                  ; +0x3a, 0x1800b7c1a\nmov     [rsp+258h+var_230], rdi; __int64                               ; +0x3f, 0x1800b7c1f\nlea     rdx, [rsp+258h+var_228]; int                                   ; +0x44, 0x1800b7c24\nmov     r9, rbx; int                                                   ; +0x49, 0x1800b7c29\nmov     [rsp+258h+var_238], 0; struct __crt_locale_pointers *          ; +0x4c, 0x1800b7c2c\nmov     r8d, 200h; int                                                 ; +0x55, 0x1800b7c35\nmov     rcx, [rax]                                                     ; +0x5b, 0x1800b7c3b\nor      rcx, 2; int                                                    ; +0x5e, 0x1800b7c3e\ncall    j_??$common_vsprintf@Vstandard_base@__crt_stdio_output@@D@@YAH_KQEAD0QEBDQEAU__crt_locale_pointers@@1@Z; common_vsprintf<__crt_stdio_output::standard_base,char>(unsigned __int64,char * const,unsigned __int64,char const * const,__crt_locale_pointers * const,char * const) ; +0x62, 0x1800b7c42\nlea     rcx, [rsp+258h+var_228]                                        ; +0x67, 0x1800b7c47\nmov     [rsp+258h+var_29], 0                                           ; +0x6c, 0x1800b7c4c\ncall    sub_1800C0D00                                                  ; +0x74, 0x1800b7c54\nmov     rcx, [rsp+258h+var_28]                                         ; +0x79, 0x1800b7c59\nxor     rcx, rsp; StackCookie                                          ; +0x81, 0x1800b7c61\ncall    __security_check_cookie                                        ; +0x84, 0x1800b7c64\nadd     rsp, 248h                                                      ; +0x89, 0x1800b7c69\npop     rdi                                                            ; +0x90, 0x1800b7c70\npop     rbx                                                            ; +0x91, 0x1800b7c71\nretn                                                                   ; +0x92, 0x1800b7c72", "xrefs": ["<???> @ 0x180194348", "<???> @ 0x1801fd200"], "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"}