//
// PlayerObject::destroyFromHitHead from 0x1004191a0 to 0x1004191fe (94 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::checkCollisions @ 0x100125c92
// > GJBaseGameLayer::checkCollisions @ 0x100125d52
//
// 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)
{
if ( a1->m_isShip )
return 0;
if ( a1->m_isBird )
return 0;
if ( a1->m_isDart )
return 0;
if ( a1->m_isSwing )
return 0;
if ( a1->m_isBall )
return 0;
if ( a1->m_isSpider )
return 0;
return a1->m_stateHitHead <= 0;
}