//
// sub_F42974 from 0xf42974 to 0xf429d8 (100 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
//
__int64 __fastcall sub_F42974(__int64 a1, __int64 a2)
{
__int64 result; // x0
*(_QWORD *)(a1 + 40) = a2;
*(_DWORD *)(a1 + 8) = 4098;
*(_QWORD *)(a1 + 16) = 6;
*(_QWORD *)(a1 + 24) = 0;
*(_DWORD *)(a1 + 32) = a2 == 0;
*(_DWORD *)(a1 + 36) = 0;
memset((void *)(a1 + 56), 0, 0x50u);
result = std::locale::locale((std::locale *)(a1 + 48));
*(_QWORD *)(a1 + 136) = 0;
*(_DWORD *)(a1 + 144) = -1;
return result;
}