//
// std::__ndk1::locale::__install_ctor from 0xf6dba0 to 0xf6dc14 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0xebd08
//
// 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 13:13:37 +0000
//
__int64 __fastcall std::locale::__install_ctor(std::locale *this, const std::locale *a2, std::locale::facet *a3)
{
std::__shared_count *v6; // x0
__int64 v7; // x1
std::__shared_count *v8; // x20
if ( a3 )
{
v6 = (std::__shared_count *)operator new(0x140u);
v7 = *(_QWORD *)a2;
v8 = v6;
sub_F6D268(v6, v7, a3);
}
else
{
v8 = *(std::__shared_count **)a2;
}
*(_QWORD *)this = v8;
return std::__shared_count::__add_shared(v8);
}