//
// sub_10023EF58 from 0x10023ef58 to 0x10023efec (148 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007c9480
//
// 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_10023EF58(_QWORD *a1)
{
std::locale *v1; // x19
v1 = (std::locale *)((char *)a1 + *(_QWORD *)(*a1 - 24LL));
v1[14].__locale_ = (std::locale::__imp *)off_1007C9478;
v1->__locale_ = (std::locale::__imp *)off_1007C9450;
v1[1].__locale_ = (std::locale::__imp *)off_1007814C8;
if ( SHIBYTE(v1[11].__locale_) < 0 )
operator delete(v1[9].__locale_);
v1[1].__locale_ = (std::locale::__imp *)&`vtable for'std::streambuf.~basic_streambuf;
std::locale::~locale(v1 + 2);
std::ostream::~ostream(v1, off_1007C9490);
std::ios::~ios(&v1[14]);
operator delete(v1);
}