//
// sub_1001EACA0 from 0x1001eaca0 to 0x1001ead29 (137 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ae02c8
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:26:31 +0000
//
__int64 __fastcall sub_1001EACA0(_QWORD *a1)
{
std::locale *v1; // rbx
v1 = (std::locale *)((char *)a1 + *(_QWORD *)(*a1 - 24LL));
v1->__locale_ = (std::locale::__imp *)&off_100AE02A0;
v1[15].__locale_ = (std::locale::__imp *)off_100AE02C8;
v1[2].__locale_ = (std::locale::__imp *)&off_100BB1EA0;
if ( ((__int64)v1[10].__locale_ & 1) != 0 )
operator delete(v1[12].__locale_);
v1[2].__locale_ = (std::locale::__imp *)&`vtable for'std::streambuf.~basic_streambuf;
std::locale::~locale(v1 + 3);
std::istream::~istream(v1, off_100AE02E0);
return std::ios::~ios(&v1[15]);
}