//
// PlayerObject::destroyFromHitHead from 0x100405ff0 to 0x10040604e (94 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::checkCollisions @ 0x100103702
// > GJBaseGameLayer::checkCollisions @ 0x1001037c2
//
// This function is hookable on this platform (idp: pc, 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 12:30:04 +0000
//
bool __fastcall PlayerObject::destroyFromHitHead(__int64 a1)
{
if ( *(_BYTE *)(a1 + 2417) )
return 0;
if ( *(_BYTE *)(a1 + 2418) )
return 0;
if ( *(_BYTE *)(a1 + 2420) )
return 0;
if ( *(_BYTE *)(a1 + 2428) )
return 0;
if ( *(_BYTE *)(a1 + 2419) )
return 0;
if ( *(_BYTE *)(a1 + 2422) )
return 0;
return *(_DWORD *)(a1 + 2844) <= 0;
}