//
// sub_100206560 from 0x100206560 to 0x1002065d9 (121 bytes)
//
// 2 xrefs:
// > ??> @ 0x10020636e
// > ??> @ 0x1008dc000
//
// 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_100206560(__int64 a1)
{
*(_QWORD *)a1 = &off_1008DC000;
*(_QWORD *)(a1 + 120) = off_1008DC028;
*(_QWORD *)(a1 + 16) = &off_1008C3F58;
if ( (*(_BYTE *)(a1 + 80) & 1) != 0 )
operator delete(*(void **)(a1 + 96));
*(_QWORD *)(a1 + 16) = &`vtable for'std::streambuf.~basic_streambuf;
std::locale::~locale((std::locale *)(a1 + 24));
std::istream::~istream(a1, off_1008DC040);
return std::ios::~ios(a1 + 120);
}