//
// sub_F4FE58 from 0xf4fe58 to 0xf4feac (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x1533398
//
// 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:16 +0000
//
__int64 __fastcall sub_F4FE58(__int64 a1, std::locale *a2)
{
__int64 v4; // x0
__int64 result; // x0
(*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 48LL))(a1);
v4 = std::locale::use_facet(a2, (std::locale::id *)&std::codecvt::id);
*(_QWORD *)(a1 + 72) = v4;
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 56LL))(v4);
*(_BYTE *)(a1 + 88) = result & 1;
return result;
}