//
// PlayerObject::updateCollideLeft from 0x6233ec to 0x623454 (104 bytes)
//
// 3 xrefs:
// > PlayerObject::updateCollide @ 0x6243c4
// > PlayerObject::collidedWithObjectInternal @ 0x62fa54
// > ??> @ 0x60330
//
// 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
//
void PlayerObject::updateCollideLeft(PlayerObject *a1, float a2, GameObject *a3)
{
int m_uniqueID; // w2
double m_collidedLeftMaxX; // d1
double v5; // d0
if ( a3 )
m_uniqueID = a3->m_uniqueID;
else
m_uniqueID = 0;
m_collidedLeftMaxX = a1->m_collidedLeftMaxX;
v5 = a2;
if ( m_collidedLeftMaxX != 0.0 && m_collidedLeftMaxX >= v5 )
v5 = a1->m_collidedLeftMaxX;
a1->m_collidedLeftMaxX = v5;
if ( m_uniqueID )
{
PlayerObject::storeCollision(a1, (PlayerCollisionDirection)2, m_uniqueID);
a1->m_collidingWithLeft = a3;
a1->m_collidingWithRight = nullptr;
}
}