//
// std::__ndk1::locale::id::__init from 0xf6e128 to 0xf6e148 (32 bytes)
//
// 19 xrefs:
// > ??> @ 0xcbf98
// > sub_F69168 @ 0xf69254
// > sub_F6A1A8 @ 0xf6a320
// > sub_F6B1B0 @ 0xf6b2f0
// > sub_F6B1B0 @ 0xf6b3dc
// > sub_F6B1B0 @ 0xf6b6e0
// > sub_F6B1B0 @ 0xf6b978
// > sub_F6B1B0 @ 0xf6bacc
// > sub_F6B1B0 @ 0xf6bd10
// > sub_F6BF98 @ 0xf6c0b8
// > sub_F6BF98 @ 0xf6c19c
// > sub_F6BF98 @ 0xf6c430
// > sub_F6BF98 @ 0xf6c7c0
// > sub_F6BF98 @ 0xf6ca84
// > sub_F6BF98 @ 0xf6cc48
// > std::__ndk1::locale::has_facet @ 0xf6ddd0
// > std::__ndk1::locale::id::__get @ 0xf6de88
// > std::__ndk1::locale::use_facet @ 0xf6df14
// > ??> @ 0x1545fe0
//
// 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:38 +0000
//
__int64 __fastcall std::locale::id::__init(__int64 this)
{
unsigned int v1; // w9
unsigned int v2; // w9
do
{
v1 = __ldaxr((unsigned int *)&std::locale::id::__next_id);
v2 = v1 + 1;
}
while ( __stlxr(v2, (unsigned int *)&std::locale::id::__next_id) );
*(_DWORD *)(this + 8) = v2;
return this;
}