{"type": "func", "start": 6443117104, "end": 6443117195, "name": "sub_1800A2A30", "pseudocode": "// \n// sub_1800A2A30 from 0x1800a2a30 to 0x1800a2a8b (91 bytes)\n// \n// 5 xrefs:\n// > int `__acrt_get_current_directory<__crt_win32_buffer_internal_dynamic_resizing> @ 0x1800e30f7\n// > sub_1800E31D0 @ 0x1800e31d7\n// > <???> @ 0x18013f90b\n// > <???> @ 0x18013f96d\n// > <???> @ 0x1801b7a10\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_1800A2A30(__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_1800179A0(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_1800A2A30 from 0x1800a2a30 to 0x1800a2a8b (91 bytes)\n; \n; 5 xrefs:\n; > int `__acrt_get_current_directory<__crt_win32_buffer_internal_dynamic_resizing> @ 0x1800e30f7\n; > sub_1800E31D0 @ 0x1800e31d7\n; > <???> @ 0x18013f90b\n; > <???> @ 0x18013f96d\n; > <???> @ 0x1801b7a10\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, 0x1800a2a30\nsub     rsp, 20h                                                       ; +0x2, 0x1800a2a32\nmov     rax, [rcx]                                                     ; +0x6, 0x1800a2a36\nlea     rbx, [rcx+90h]                                                 ; +0x9, 0x1800a2a39\nmovsxd  rdx, dword ptr [rax+4]                                         ; +0x10, 0x1800a2a40\nlea     rax, ??_7?$basic_istringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@6B@; const std::istringstream::`vftable' ; +0x14, 0x1800a2a44\nmov     [rdx+rbx-90h], rax                                             ; +0x1b, 0x1800a2a4b\nmov     rax, [rcx]                                                     ; +0x23, 0x1800a2a53\nlea     rcx, [rbx-80h]                                                 ; +0x26, 0x1800a2a56\nmovsxd  rdx, dword ptr [rax+4]                                         ; +0x2a, 0x1800a2a5a\nlea     r8d, [rdx-90h]                                                 ; +0x2e, 0x1800a2a5e\nmov     [rdx+rbx-94h], r8d                                             ; +0x35, 0x1800a2a65\ncall    sub_1800179A0                                                  ; +0x3d, 0x1800a2a6d\nlea     rcx, [rbx-78h]                                                 ; +0x42, 0x1800a2a72\ncall    cs:??1?$basic_istream@DU?$char_traits@D@std@@@std@@UEAA@XZ; std::istream::~istream<char,std::char_traits<char>>(void) ; +0x46, 0x1800a2a76\nmov     rcx, rbx                                                       ; +0x4c, 0x1800a2a7c\nadd     rsp, 20h                                                       ; +0x4f, 0x1800a2a7f\npop     rbx                                                            ; +0x53, 0x1800a2a83\njmp     cs:??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ; std::ios::~ios<char,std::char_traits<char>>(void) ; +0x54, 0x1800a2a84", "xrefs": ["int `__acrt_get_current_directory<__crt_win32_buffer_internal_dynamic_resizing> @ 0x1800e30f7", "sub_1800E31D0 @ 0x1800e31d7", "<???> @ 0x18013f90b", "<???> @ 0x18013f96d", "<???> @ 0x1801b7a10"], "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"}