//
// sub_1002078E0 from 0x1002078e0 to 0x100207961 (129 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008dc008
//
// 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_1002078E0(std::locale *__p)
{
__p->__locale_ = (std::locale::__imp *)&off_1008DC000;
__p[15].__locale_ = (std::locale::__imp *)off_1008DC028;
__p[2].__locale_ = (std::locale::__imp *)&off_1008C3F58;
if ( ((__int64)__p[10].__locale_ & 1) != 0 )
operator delete(__p[12].__locale_);
__p[2].__locale_ = (std::locale::__imp *)&`vtable for'std::streambuf.~basic_streambuf;
std::locale::~locale(__p + 3);
std::istream::~istream(__p, off_1008DC040);
std::ios::~ios(&__p[15]);
operator delete(__p);
}