//
// std::__ndk1::locale::id::__init from 0x96f154 to 0x96f174 (32 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:05:51 +0000
//
int __fastcall std::locale::id::__init(int this)
{
unsigned int v1; // r2
unsigned int v2; // r2
__dmb(0xBu);
do
{
v1 = __ldrex(&std::locale::id::__next_id);
v2 = v1 + 1;
}
while ( __strex(v2, &std::locale::id::__next_id) );
__dmb(0xBu);
*(_DWORD *)(this + 4) = v2;
return this;
}