//
// sub_1000D8640 from 0x1000d8640 to 0x1000d86d4 (148 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008ceec0
//
// 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 10:58:57 +0000
//
void __fastcall sub_1000D8640(std::locale *a1)
{
std::locale *v2; // x20
a1->__locale_ = (std::locale::__imp *)off_1008CEEB8;
a1[16].__locale_ = (std::locale::__imp *)off_1008CEF08;
v2 = a1 + 16;
a1[2].__locale_ = (std::locale::__imp *)off_1008CEEE0;
a1[3].__locale_ = (std::locale::__imp *)off_1008CF0A8;
if ( SHIBYTE(a1[13].__locale_) < 0 )
operator delete(a1[11].__locale_);
a1[3].__locale_ = (std::locale::__imp *)&`vtable for'std::streambuf.~basic_streambuf;
std::locale::~locale(a1 + 4);
std::iostream::~iostream(a1, off_1008CEF20);
std::ios::~ios(v2);
operator delete(a1);
}