{"type": "func", "start": 6443132224, "end": 6443132315, "name": "sub_1800A6540", "pseudocode": "// \n// sub_1800A6540 from 0x1800a6540 to 0x1800a659b (91 bytes)\n// \n// 6 xrefs:\n// > <???> @ 0x1800a653f\n// > sub_1800E87A0 @ 0x1800e87a7\n// > sub_1800E8850 @ 0x1800e8857\n// > <???> @ 0x180148bc3\n// > <???> @ 0x180148c03\n// > <???> @ 0x1801c1cbc\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:22:15 +0000\n// \n\n__int64 __fastcall sub_1800A6540(__int64 a1)\n{\n  __int64 v1; // rbx\n\n  v1 = a1 + 144;\n  *(_QWORD *)(*(int *)(*(_QWORD *)a1 + 4LL) + v1 - 144) = &std::istringstream::`vftable';\n  *(_DWORD *)(*(int *)(*(_QWORD *)a1 + 4LL) + v1 - 148) = *(_DWORD *)(*(_QWORD *)a1 + 4LL) - 144;\n  sub_1800174E0(a1 + 16);\n  std::istream::~istream<char,std::char_traits<char>>(v1 - 120);\n  return std::ios::~ios<char,std::char_traits<char>>(v1);\n}", "assembly": "; \n; sub_1800A6540 from 0x1800a6540 to 0x1800a659b (91 bytes)\n; \n; 6 xrefs:\n; > <???> @ 0x1800a653f\n; > sub_1800E87A0 @ 0x1800e87a7\n; > sub_1800E8850 @ 0x1800e8857\n; > <???> @ 0x180148bc3\n; > <???> @ 0x180148c03\n; > <???> @ 0x1801c1cbc\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:22:15 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800a6540\nsub     rsp, 20h                                                       ; +0x2, 0x1800a6542\nmov     rax, [rcx]                                                     ; +0x6, 0x1800a6546\nlea     rbx, [rcx+90h]                                                 ; +0x9, 0x1800a6549\nmovsxd  rdx, dword ptr [rax+4]                                         ; +0x10, 0x1800a6550\nlea     rax, ??_7?$basic_istringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@6B@; const std::istringstream::`vftable' ; +0x14, 0x1800a6554\nmov     [rdx+rbx-90h], rax                                             ; +0x1b, 0x1800a655b\nmov     rax, [rcx]                                                     ; +0x23, 0x1800a6563\nadd     rcx, 10h                                                       ; +0x26, 0x1800a6566\nmovsxd  rdx, dword ptr [rax+4]                                         ; +0x2a, 0x1800a656a\nlea     r8d, [rdx-90h]                                                 ; +0x2e, 0x1800a656e\nmov     [rdx+rbx-94h], r8d                                             ; +0x35, 0x1800a6575\ncall    sub_1800174E0                                                  ; +0x3d, 0x1800a657d\nlea     rcx, [rbx-78h]                                                 ; +0x42, 0x1800a6582\ncall    cs:??1?$basic_istream@DU?$char_traits@D@std@@@std@@UEAA@XZ; std::istream::~istream<char,std::char_traits<char>>(void) ; +0x46, 0x1800a6586\nmov     rcx, rbx                                                       ; +0x4c, 0x1800a658c\nadd     rsp, 20h                                                       ; +0x4f, 0x1800a658f\npop     rbx                                                            ; +0x53, 0x1800a6593\njmp     cs:??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ; std::ios::~ios<char,std::char_traits<char>>(void) ; +0x54, 0x1800a6594", "xrefs": ["<???> @ 0x1800a653f", "sub_1800E87A0 @ 0x1800e87a7", "sub_1800E8850 @ 0x1800e8857", "<???> @ 0x180148bc3", "<???> @ 0x180148c03", "<???> @ 0x1801c1cbc"], "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"}