{"type": "func", "start": 6442550208, "end": 6442550305, "name": "sub_1800183C0", "pseudocode": "// \n// sub_1800183C0 from 0x1800183c0 to 0x180018421 (97 bytes)\n// \n// 7 xrefs:\n// > sub_180018700 @ 0x180018716\n// > int `_wcrtomb_s_l @ 0x1800e0ec7\n// > sub_1800E10C0 @ 0x1800e10c7\n// > <???> @ 0x180132fba\n// > <???> @ 0x18013303c\n// > <???> @ 0x180133777\n// > <???> @ 0x1801ae7e8\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 sub_1800183C0(__int64 a1)\n{\n  __int64 v1; // rbx\n\n  v1 = a1 + 168;\n  *(_QWORD *)(*(int *)(*(_QWORD *)a1 + 4LL) + v1 - 168) = &std::ofstream::`vftable';\n  *(_DWORD *)(*(int *)(*(_QWORD *)a1 + 4LL) + v1 - 172) = *(_DWORD *)(*(_QWORD *)a1 + 4LL) - 168;\n  sub_1800178D0(a1 + 8);\n  std::ostream::~ostream<char,std::char_traits<char>>(v1 - 152);\n  return std::ios::~ios<char,std::char_traits<char>>(v1);\n}", "assembly": "; \n; sub_1800183C0 from 0x1800183c0 to 0x180018421 (97 bytes)\n; \n; 7 xrefs:\n; > sub_180018700 @ 0x180018716\n; > int `_wcrtomb_s_l @ 0x1800e0ec7\n; > sub_1800E10C0 @ 0x1800e10c7\n; > <???> @ 0x180132fba\n; > <???> @ 0x18013303c\n; > <???> @ 0x180133777\n; > <???> @ 0x1801ae7e8\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, 0x1800183c0\nsub     rsp, 20h                                                       ; +0x2, 0x1800183c2\nmov     rax, [rcx]                                                     ; +0x6, 0x1800183c6\nlea     rbx, [rcx+0A8h]                                                ; +0x9, 0x1800183c9\nmovsxd  rdx, dword ptr [rax+4]                                         ; +0x10, 0x1800183d0\nlea     rax, ??_7?$basic_ofstream@DU?$char_traits@D@std@@@std@@6B@; const std::ofstream::`vftable' ; +0x14, 0x1800183d4\nmov     [rdx+rbx-0A8h], rax                                            ; +0x1b, 0x1800183db\nmov     rax, [rcx]                                                     ; +0x23, 0x1800183e3\nlea     rcx, [rbx-0A0h]                                                ; +0x26, 0x1800183e6\nmovsxd  rdx, dword ptr [rax+4]                                         ; +0x2d, 0x1800183ed\nlea     r8d, [rdx-0A8h]                                                ; +0x31, 0x1800183f1\nmov     [rdx+rbx-0ACh], r8d                                            ; +0x38, 0x1800183f8\ncall    sub_1800178D0                                                  ; +0x40, 0x180018400\nlea     rcx, [rbx-98h]                                                 ; +0x45, 0x180018405\ncall    cs:??1?$basic_ostream@DU?$char_traits@D@std@@@std@@UEAA@XZ; std::ostream::~ostream<char,std::char_traits<char>>(void) ; +0x4c, 0x18001840c\nmov     rcx, rbx                                                       ; +0x52, 0x180018412\nadd     rsp, 20h                                                       ; +0x55, 0x180018415\npop     rbx                                                            ; +0x59, 0x180018419\njmp     cs:??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ; std::ios::~ios<char,std::char_traits<char>>(void) ; +0x5a, 0x18001841a", "xrefs": ["sub_180018700 @ 0x180018716", "int `_wcrtomb_s_l @ 0x1800e0ec7", "sub_1800E10C0 @ 0x1800e10c7", "<???> @ 0x180132fba", "<???> @ 0x18013303c", "<???> @ 0x180133777", "<???> @ 0x1801ae7e8"], "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"}