//
// PlayerObject::destroyFromHitHead from 0x437d6e to 0x437d9c (46 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::checkCollisions @ 0x5badd4
// > GJBaseGameLayer::checkCollisions @ 0x5bb448
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:48:20 +0000
//
bool __fastcall PlayerObject::destroyFromHitHead(PlayerObject *this)
{
int v2; // r3
if ( PlayerObject::isFlying(this) )
return 0;
v2 = *((unsigned __int8 *)this + 1955);
if ( *((_BYTE *)this + 1955) )
return 0;
if ( !*((_BYTE *)this + 1958) )
return *((_DWORD *)this + 583) <= 0;
return v2;
}