//
// sub_10062EAF0 from 0x10062eaf0 to 0x10062eb38 (72 bytes)
//
// 3 xrefs:
// > ??> @ 0x1009ab010
// > ??> @ 0x1009ab238
// > ??> @ 0x1009adaf0
//
// 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 11:10:26 +0000
//
__int64 __fastcall sub_10062EAF0(__int64 a1, int a2)
{
int v3; // w9
if ( ((((*(_DWORD *)(a1 + 72) & 2) == 0) ^ a2) & 1) != 0 )
return 0;
if ( a2 )
v3 = 2;
else
v3 = 0;
*(_DWORD *)(a1 + 72) = *(_DWORD *)(a1 + 72) & 0xFFFFFFFD | v3;
return (*(__int64 (__fastcall **)(__int64, __int64, float))(*(_QWORD *)a1 + 32LL))(a1, 1, *(float *)(a1 + 48));
}