//
// sub_100571EB4 from 0x100571eb4 to 0x100571f1c (104 bytes)
//
// 1 xrefs:
// > ??> @ 0x10082e4a8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_100571EB4(__int64 *a1, bool *a2)
{
__int64 result; // x0
_QWORD *v5; // x19
__darwin_time_t v6; // x2
__int64 v7; // x1
result = sub_10057171C(a1, a2);
if ( !(_DWORD)result && !*a2 )
{
if ( (unsigned int)sub_10054A1EC(a1) )
{
return 42;
}
else
{
v5 = (_QWORD *)*a1;
v6 = sub_100548F0C();
return sub_100560FC0(v5, v6, v7);
}
}
return result;
}