//
// sub_100206380 from 0x100206380 to 0x1002063f9 (121 bytes)
//
// 3 xrefs:
// > ??> @ 0x1002060f5
// > ??> @ 0x10020610c
// > ??> @ 0x1008dbf28
//
// 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_100206380(__int64 a1)
{
*(_QWORD *)a1 = &off_1008DBF28;
*(_QWORD *)(a1 + 112) = off_1008DBF50;
*(_QWORD *)(a1 + 8) = &off_1008C3F58;
if ( (*(_BYTE *)(a1 + 72) & 1) != 0 )
operator delete(*(void **)(a1 + 88));
*(_QWORD *)(a1 + 8) = &`vtable for'std::streambuf.~basic_streambuf;
std::locale::~locale((std::locale *)(a1 + 16));
std::ostream::~ostream(a1, off_1008DBF68);
return std::ios::~ios(a1 + 112);
}