//
// sub_100207690 from 0x100207690 to 0x100207719 (137 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008dbf50
//
// 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_100207690(_QWORD *a1)
{
std::locale *v1; // rbx
v1 = (std::locale *)((char *)a1 + *(_QWORD *)(*a1 - 24LL));
v1->__locale_ = (std::locale::__imp *)&off_1008DBF28;
v1[14].__locale_ = (std::locale::__imp *)off_1008DBF50;
v1[1].__locale_ = (std::locale::__imp *)&off_1008C3F58;
if ( ((__int64)v1[9].__locale_ & 1) != 0 )
operator delete(v1[11].__locale_);
v1[1].__locale_ = (std::locale::__imp *)&`vtable for'std::streambuf.~basic_streambuf;
std::locale::~locale(v1 + 2);
std::ostream::~ostream(v1, off_1008DBF68);
return std::ios::~ios(&v1[14]);
}