//
// sub_100183200 from 0x100183200 to 0x1001832a0 (160 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008c3dc0
//
// 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
//
void __fastcall sub_100183200(_QWORD *a1)
{
std::locale *v1; // rbx
v1 = (std::locale *)((char *)a1 + *(_QWORD *)(*a1 - 24LL));
v1->__locale_ = (std::locale::__imp *)&off_1008C3D68;
v1[16].__locale_ = (std::locale::__imp *)off_1008C3DB8;
v1[2].__locale_ = (std::locale::__imp *)off_1008C3D90;
v1[3].__locale_ = (std::locale::__imp *)&off_1008C3F58;
if ( ((__int64)v1[11].__locale_ & 1) != 0 )
operator delete(v1[13].__locale_);
v1[3].__locale_ = (std::locale::__imp *)&`vtable for'std::streambuf.~basic_streambuf;
std::locale::~locale(v1 + 4);
std::iostream::~iostream(v1, off_1008C3DD0);
std::ios::~ios(&v1[16]);
operator delete(v1);
}