//
// PlayerObject::didHitHead from 0x439c5c to 0x439c8e (50 bytes)
//
// 3 xrefs:
// > PlayerObject::collidedWithObjectInternal @ 0x43cdfc
// > PlayerObject::collidedWithObjectInternal @ 0x43d066
// > PlayerObject::collidedWithObjectInternal @ 0x43d4a4
//
// 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:21 +0000
//
int *__fastcall PlayerObject::didHitHead(int *this)
{
int *v1; // r4
int v2; // r2
v1 = this;
if ( *(this + 584) > 0 )
{
this = (int *)PlayerObject::hardFlipGravity((PlayerObject *)this);
v2 = v1[581];
*((_BYTE *)v1 + 2052) = 1;
*((_BYTE *)v1 + 2036) = 0;
if ( v2 > 0 )
{
*((_BYTE *)v1 + 1961) = 0;
*((_BYTE *)v1 + 1902) = 0;
*((_BYTE *)v1 + 1901) = 0;
}
}
return this;
}