//
// sub_1002DBEB4 from 0x1002dbeb4 to 0x1002dbf40 (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x100921b18
//
// This function is hookable on this platform (idp: arm, 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 11:02:45 +0000
//
__int64 __fastcall sub_1002DBEB4(_QWORD *a1)
{
std::locale *v1; // x19
v1 = (std::locale *)((char *)a1 + *(_QWORD *)(*a1 - 24LL));
v1[14].__locale_ = (std::locale::__imp *)off_100921B18;
v1->__locale_ = (std::locale::__imp *)off_100921AF0;
v1[1].__locale_ = (std::locale::__imp *)off_1008CF0A8;
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_100921B30);
return std::ios::~ios(&v1[14]);
}