{"type": "func", "start": 6442732656, "end": 6442732744, "name": "sub_180044C70", "pseudocode": "// \n// sub_180044C70 from 0x180044c70 to 0x180044cc8 (88 bytes)\n// \n// 9 xrefs:\n// > sub_18003E130 @ 0x18003e3b8\n// > sub_18003E130 @ 0x18003e3c8\n// > sub_18003E130 @ 0x18003e3dc\n// > sub_18003E130 @ 0x18003e3ed\n// > sub_18003EA80 @ 0x18003ed09\n// > sub_18003EA80 @ 0x18003ed19\n// > sub_18003EA80 @ 0x18003ed2d\n// > sub_18003EA80 @ 0x18003ed3e\n// > <???> @ 0x1801bb704\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:40 +0000\n// \n\nint sub_180044C70(wchar_t *Buffer, size_t BufferCount, wchar_t *Format, ...)\n{\n  unsigned __int64 *v6; // rax\n  int result; // eax\n  va_list va; // [rsp+78h] [rbp+20h] BYREF\n\n  va_start(va, Format);\n  v6 = (unsigned __int64 *)sub_1800095E0();\n  result = _stdio_common_vswprintf(*v6, Buffer, BufferCount, Format, nullptr, va);\n  if ( result < 0 )\n    return -1;\n  return result;\n}", "assembly": "; \n; sub_180044C70 from 0x180044c70 to 0x180044cc8 (88 bytes)\n; \n; 9 xrefs:\n; > sub_18003E130 @ 0x18003e3b8\n; > sub_18003E130 @ 0x18003e3c8\n; > sub_18003E130 @ 0x18003e3dc\n; > sub_18003E130 @ 0x18003e3ed\n; > sub_18003EA80 @ 0x18003ed09\n; > sub_18003EA80 @ 0x18003ed19\n; > sub_18003EA80 @ 0x18003ed2d\n; > sub_18003EA80 @ 0x18003ed3e\n; > <???> @ 0x1801bb704\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:40 +0000\n; \nmov     [rsp+arg_10], r8                                               ; +0x0, 0x180044c70\nmov     qword ptr [rsp+arg_18], r9                                     ; +0x5, 0x180044c75\npush    rbx                                                            ; +0xa, 0x180044c7a\npush    rbp                                                            ; +0xb, 0x180044c7b\npush    rsi                                                            ; +0xc, 0x180044c7c\npush    rdi                                                            ; +0xd, 0x180044c7d\nsub     rsp, 38h                                                       ; +0xe, 0x180044c7e\nmov     rsi, r8                                                        ; +0x12, 0x180044c82\nlea     rbp, [rsp+58h+arg_18]                                          ; +0x15, 0x180044c85\nmov     rbx, rdx                                                       ; +0x1a, 0x180044c8a\nmov     rdi, rcx                                                       ; +0x1d, 0x180044c8d\ncall    sub_1800095E0                                                  ; +0x20, 0x180044c90\nmov     [rsp+58h+ArgList], rbp; ArgList                                ; +0x25, 0x180044c95\nmov     r9, rsi; Format                                                ; +0x2a, 0x180044c9a\nmov     r8, rbx; BufferCount                                           ; +0x2d, 0x180044c9d\nmov     [rsp+58h+Locale], 0; Locale                                    ; +0x30, 0x180044ca0\nmov     rdx, rdi; Buffer                                               ; +0x39, 0x180044ca9\nmov     rcx, [rax]; Options                                            ; +0x3c, 0x180044cac\ncall    cs:__stdio_common_vswprintf                                    ; +0x3f, 0x180044caf\ntest    eax, eax                                                       ; +0x45, 0x180044cb5\nmov     ecx, 0FFFFFFFFh                                                ; +0x47, 0x180044cb7\ncmovs   eax, ecx                                                       ; +0x4c, 0x180044cbc\nadd     rsp, 38h                                                       ; +0x4f, 0x180044cbf\npop     rdi                                                            ; +0x53, 0x180044cc3\npop     rsi                                                            ; +0x54, 0x180044cc4\npop     rbp                                                            ; +0x55, 0x180044cc5\npop     rbx                                                            ; +0x56, 0x180044cc6\nretn                                                                   ; +0x57, 0x180044cc7", "xrefs": ["sub_18003E130 @ 0x18003e3b8", "sub_18003E130 @ 0x18003e3c8", "sub_18003E130 @ 0x18003e3dc", "sub_18003E130 @ 0x18003e3ed", "sub_18003EA80 @ 0x18003ed09", "sub_18003EA80 @ 0x18003ed19", "sub_18003EA80 @ 0x18003ed2d", "sub_18003EA80 @ 0x18003ed3e", "<???> @ 0x1801bb704"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}