//
// sub_1800A2A90 from 0x1800a2a90 to 0x1800a2aeb (91 bytes)
//
// 3 xrefs:
// > sub_1800E3160 @ 0x1800e3167
// > ??> @ 0x18013f8ed
// > ??> @ 0x1801b7a1c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_1800A2A90(__int64 a1)
{
__int64 v1; // rbx
v1 = a1 + 136;
*(_QWORD *)(*(int *)(*(_QWORD *)a1 + 4LL) + v1 - 136) = &std::ostringstream::`vftable';
*(_DWORD *)(*(int *)(*(_QWORD *)a1 + 4LL) + v1 - 140) = *(_DWORD *)(*(_QWORD *)a1 + 4LL) - 136;
sub_1800179A0(a1 + 8);
std::ostream::~ostream>(v1 - 120);
return std::ios::~ios>(v1);
}