//
// PlayerObject::destroyFromHitHead from 0x626c68 to 0x626cbc (84 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::checkCollisions @ 0x894b9c
// > GJBaseGameLayer::checkCollisions @ 0x8955b8
// > ??> @ 0xbfda8
//
// 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 PlayerObject::destroyFromHitHead(PlayerObject *a1)
{
bool result; // w0
result = PlayerObject::isFlying(a1);
if ( result )
return 0;
if ( !a1->m_isBall && !a1->m_isSpider )
return a1->m_stateHitHead <= 0;
return result;
}