//
// sub_1002971B0 from 0x1002971b0 to 0x100297214 (100 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::buttonIsRelevant @ 0x100297174
// > GJBaseGameLayer::buttonIsRelevant @ 0x100297188
//
// 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:02:06 +0000
//
bool __fastcall sub_1002971B0(__int64 a1, __int64 a2)
{
return *(_BYTE *)(a2 + 4) == 1 && (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 2544))
|| (PlayerObject::isFlying(a1) & 1) != 0
|| *(_BYTE *)(a2 + 4) == 1 && (*(_BYTE *)(a1 + 2425) & 1) != 0;
}