//
// sub_1001FAFBC from 0x1001fafbc to 0x1001fb020 (100 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::buttonIsRelevant @ 0x1001faf80
// > GJBaseGameLayer::buttonIsRelevant @ 0x1001faf94
//
// 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
//
bool __fastcall sub_1001FAFBC(PlayerObject *a1, __int64 a2)
{
return *(_BYTE *)(a2 + 4) == 1 && (unsigned int)sub_10024A36C(a1->m_touchingRings)
|| PlayerObject::isFlying(a1)
|| *(_BYTE *)(a2 + 4) == 1 && a1->m_isOnGround;
}