//
// sub_10014AFE0 from 0x10014afe0 to 0x10014b033 (83 bytes)
//
// 0 xrefs:
//
// 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
//
char __fastcall sub_10014AFE0(PlayerObject *a1, __int64 a2)
{
int v2; // ecx
char result; // al
bool isFlying; // cl
if ( *(_BYTE *)(a2 + 4) != 1 || (v2 = sub_100720070(a1->m_touchingRings), result = 1, !v2) )
{
isFlying = PlayerObject::isFlying(a1);
result = 1;
if ( !isFlying && (*(_BYTE *)(a2 + 4) != 1 || !a1->m_isOnGround) )
return 0;
}
return result;
}