//
// PlayerObject::isSafeFlip from 0x341f48 to 0x341f82 (58 bytes)
//
// 4 xrefs:
// > PlayerObject::isSafeHeadTest @ 0x341ffe
// > PlayerObject::collidedWithObjectInternal @ 0x345c9c
// > PlayerObject::collidedWithSlopeInternal @ 0x34bba2
// > GJBaseGameLayer::checkCollisions @ 0x493bc4
//
// 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 PlayerObject::isSafeFlip(PlayerObject *a1, float a2)
{
double m_lastFlipTime; // d5
m_lastFlipTime = a1->m_lastFlipTime;
return m_lastFlipTime != 0.0 && a1->m_totalTime - m_lastFlipTime < a2;
}