//
// std::__ndk1::locale::locale from 0xf6db28 to 0xf6db90 (104 bytes)
//
// 2 xrefs:
// > ??> @ 0x80f80
// > ??> @ 0xfb830
//
// 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
//
// Alternative name is '_ZNSt6__ndk16localeC2ERKS0_S2_i'
__int64 __fastcall std::locale::locale(std::locale *this, const std::locale *a2, const std::locale *a3, char a4)
{
__int64 v8; // x0
__int64 v9; // x2
std::__shared_count *v10; // x20
v8 = operator new(0x140u);
v9 = *(_QWORD *)a3;
v10 = (std::__shared_count *)v8;
sub_F6BF98(v8, *(_QWORD *)a2, v9, a4);
*(_QWORD *)this = v10;
return std::__shared_count::__add_shared(v10);
}