{"type": "func", "start": 6442550096, "end": 6442550193, "name": "sub_180018350", "pseudocode": "// \n// sub_180018350 from 0x180018350 to 0x1800183b1 (97 bytes)\n// \n// 7 xrefs:\n// > sub_1800186C0 @ 0x1800186d6\n// > unknown_libname_3 @ 0x1800e0eb7\n// > sub_1800E10B0 @ 0x1800e10b7\n// > <???> @ 0x180132fb3\n// > <???> @ 0x180133035\n// > <???> @ 0x180133770\n// > <???> @ 0x1801ae7dc\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_180018350(__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_1800178D0(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_180018350 from 0x180018350 to 0x1800183b1 (97 bytes)\n; \n; 7 xrefs:\n; > sub_1800186C0 @ 0x1800186d6\n; > unknown_libname_3 @ 0x1800e0eb7\n; > sub_1800E10B0 @ 0x1800e10b7\n; > <???> @ 0x180132fb3\n; > <???> @ 0x180133035\n; > <???> @ 0x180133770\n; > <???> @ 0x1801ae7dc\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, 0x180018350\nsub     rsp, 20h                                                       ; +0x2, 0x180018352\nmov     rax, [rcx]                                                     ; +0x6, 0x180018356\nlea     rbx, [rcx+0B0h]                                                ; +0x9, 0x180018359\nmovsxd  rdx, dword ptr [rax+4]                                         ; +0x10, 0x180018360\nlea     rax, ??_7?$basic_ifstream@DU?$char_traits@D@std@@@std@@6B@; const std::ifstream::`vftable' ; +0x14, 0x180018364\nmov     [rdx+rbx-0B0h], rax                                            ; +0x1b, 0x18001836b\nmov     rax, [rcx]                                                     ; +0x23, 0x180018373\nlea     rcx, [rbx-0A0h]                                                ; +0x26, 0x180018376\nmovsxd  rdx, dword ptr [rax+4]                                         ; +0x2d, 0x18001837d\nlea     r8d, [rdx-0B0h]                                                ; +0x31, 0x180018381\nmov     [rdx+rbx-0B4h], r8d                                            ; +0x38, 0x180018388\ncall    sub_1800178D0                                                  ; +0x40, 0x180018390\nlea     rcx, [rbx-98h]                                                 ; +0x45, 0x180018395\ncall    cs:??1?$basic_istream@DU?$char_traits@D@std@@@std@@UEAA@XZ; std::istream::~istream<char,std::char_traits<char>>(void) ; +0x4c, 0x18001839c\nmov     rcx, rbx                                                       ; +0x52, 0x1800183a2\nadd     rsp, 20h                                                       ; +0x55, 0x1800183a5\npop     rbx                                                            ; +0x59, 0x1800183a9\njmp     cs:??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ; std::ios::~ios<char,std::char_traits<char>>(void) ; +0x5a, 0x1800183aa", "xrefs": ["sub_1800186C0 @ 0x1800186d6", "unknown_libname_3 @ 0x1800e0eb7", "sub_1800E10B0 @ 0x1800e10b7", "<???> @ 0x180132fb3", "<???> @ 0x180133035", "<???> @ 0x180133770", "<???> @ 0x1801ae7dc"], "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"}