//
// sub_F43068 from 0xf43068 to 0xf43184 (284 bytes)
//
// 0 xrefs:
//
// 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:08 +0000
//
void __usercall sub_F43068(_QWORD *a1@, __int64 a2@, std::locale *a3@)
{
const std::locale *v4; // x22
__int64 v6; // x8
__int64 v7; // x22
__int64 v8; // x21
_BYTE v9[8]; // [xsp+8h] [xbp-38h] BYREF
_BYTE v10[8]; // [xsp+10h] [xbp-30h] BYREF
__int64 v11; // [xsp+18h] [xbp-28h]
v4 = (const std::locale *)(a1 + 6);
v11 = *(_QWORD *)(_ReadStatusReg(TPIDR_EL0) + 40);
std::locale::locale(a3, (const std::locale *)(a1 + 6));
std::locale::locale((std::locale *)v10, v4);
std::locale::operator=(v4, a2);
v6 = a1[9];
if ( v6 )
{
v7 = v6 - 1;
do
{
(*(void (__fastcall **)(__int64, _QWORD *, _QWORD))(a1[7] + 8 * v7))(1, a1, *(unsigned int *)(a1[8] + 4 * v7));
--v7;
}
while ( v7 != -1 );
}
std::locale::~locale((std::locale *)v10);
v8 = a1[5];
if ( v8 )
{
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 16LL))(v8, a2);
std::locale::locale((std::locale *)v9, (const std::locale *)(v8 + 8));
std::locale::operator=(v8 + 8, a2);
std::locale::~locale((std::locale *)v9);
}
_ReadStatusReg(TPIDR_EL0);
}