//
// PlayerObject::destroyFromHitHead from 0x10022b688 to 0x10022b6d0 (72 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::checkCollisions @ 0x1001e75c8
// > GJBaseGameLayer::checkCollisions @ 0x1001e76c4
//
// 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 PlayerObject::destroyFromHitHead(PlayerObject *a1)
{
return !a1->m_isShip
&& !a1->m_isBird
&& !a1->m_isDart
&& !a1->m_isSwing
&& !a1->m_isBall
&& !a1->m_isSpider
&& a1->m_stateHitHead < 1;
}