//
// std::__ndk1::codecvt::codecvt from 0xf706b0 to 0xf70754 (164 bytes)
//
// 3 xrefs:
// > sub_F69168 @ 0xf69494
// > ??> @ 0x99388
// > ??> @ 0xf1ab0
//
// 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:39 +0000
//
// Alternative name is '_ZNSt6__ndk17codecvtIwc9mbstate_tEC2Em'
void __fastcall std::codecvt::codecvt(_QWORD *a1, __int64 a2)
{
unsigned __int8 v3; // w8
*a1 = &off_1534330;
a1[1] = a2 - 1;
v3 = atomic_load((unsigned __int8 *)&byte_1564978);
if ( (v3 & 1) == 0 && _cxa_guard_acquire((__guard *)&byte_1564978) )
{
qword_1564970 = newlocale();
_cxa_guard_release((__guard *)&byte_1564978);
}
a1[2] = qword_1564970;
}