{"type": "func", "start": 6442549184, "end": 6442549278, "name": "sub_180017FC0", "pseudocode": "// \n// sub_180017FC0 from 0x180017fc0 to 0x18001801e (94 bytes)\n// \n// 6 xrefs:\n// > unknown_libname_5 @ 0x1800e6517\n// > sub_1800E66F0 @ 0x1800e66f7\n// > <???> @ 0x18013bf4b\n// > <???> @ 0x18013bfcd\n// > <???> @ 0x18013c740\n// > <???> @ 0x1801b8848\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:25 +0000\n// \n\n__int64 __fastcall sub_180017FC0(__int64 a1)\n{\n  __int64 v1; // rbx\n\n  v1 = a1 + 176;\n  *(_QWORD *)(*(int *)(*(_QWORD *)a1 + 4LL) + v1 - 176) = &std::ifstream::`vftable';\n  *(_DWORD *)(*(int *)(*(_QWORD *)a1 + 4LL) + v1 - 180) = *(_DWORD *)(*(_QWORD *)a1 + 4LL) - 176;\n  sub_180017410(a1 + 16);\n  std::istream::~istream<char,std::char_traits<char>>(v1 - 152);\n  return std::ios::~ios<char,std::char_traits<char>>(v1);\n}", "assembly": "; \n; sub_180017FC0 from 0x180017fc0 to 0x18001801e (94 bytes)\n; \n; 6 xrefs:\n; > unknown_libname_5 @ 0x1800e6517\n; > sub_1800E66F0 @ 0x1800e66f7\n; > <???> @ 0x18013bf4b\n; > <???> @ 0x18013bfcd\n; > <???> @ 0x18013c740\n; > <???> @ 0x1801b8848\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:25 +0000\n; \npush    rbx                                                            ; +0x0, 0x180017fc0\nsub     rsp, 20h                                                       ; +0x2, 0x180017fc2\nmov     rax, [rcx]                                                     ; +0x6, 0x180017fc6\nlea     rbx, [rcx+0B0h]                                                ; +0x9, 0x180017fc9\nmovsxd  rdx, dword ptr [rax+4]                                         ; +0x10, 0x180017fd0\nlea     rax, ??_7?$basic_ifstream@DU?$char_traits@D@std@@@std@@6B@; const std::ifstream::`vftable' ; +0x14, 0x180017fd4\nmov     [rdx+rbx-0B0h], rax                                            ; +0x1b, 0x180017fdb\nmov     rax, [rcx]                                                     ; +0x23, 0x180017fe3\nadd     rcx, 10h                                                       ; +0x26, 0x180017fe6\nmovsxd  rdx, dword ptr [rax+4]                                         ; +0x2a, 0x180017fea\nlea     r8d, [rdx-0B0h]                                                ; +0x2e, 0x180017fee\nmov     [rdx+rbx-0B4h], r8d                                            ; +0x35, 0x180017ff5\ncall    sub_180017410                                                  ; +0x3d, 0x180017ffd\nlea     rcx, [rbx-98h]                                                 ; +0x42, 0x180018002\ncall    cs:??1?$basic_istream@DU?$char_traits@D@std@@@std@@UEAA@XZ; std::istream::~istream<char,std::char_traits<char>>(void) ; +0x49, 0x180018009\nmov     rcx, rbx                                                       ; +0x4f, 0x18001800f\nadd     rsp, 20h                                                       ; +0x52, 0x180018012\npop     rbx                                                            ; +0x56, 0x180018016\njmp     cs:??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ; std::ios::~ios<char,std::char_traits<char>>(void) ; +0x57, 0x180018017", "xrefs": ["unknown_libname_5 @ 0x1800e6517", "sub_1800E66F0 @ 0x1800e66f7", "<???> @ 0x18013bf4b", "<???> @ 0x18013bfcd", "<???> @ 0x18013c740", "<???> @ 0x1801b8848"], "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"}