//
// PlayerObject::updateCollideRight from 0x623454 to 0x6234bc (104 bytes)
//
// 3 xrefs:
// > PlayerObject::updateCollide @ 0x624478
// > PlayerObject::collidedWithObjectInternal @ 0x6300ec
// > ??> @ 0x64c38
//
// 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::updateCollideRight(PlayerObject *a1, float a2, GameObject *a3)
{
int m_uniqueID; // w2
double m_collidedRightMinX; // d1
double v5; // d0
if ( a3 )
m_uniqueID = a3->m_uniqueID;
else
m_uniqueID = 0;
m_collidedRightMinX = a1->m_collidedRightMinX;
v5 = a2;
if ( m_collidedRightMinX != 0.0 && m_collidedRightMinX <= v5 )
v5 = a1->m_collidedRightMinX;
a1->m_collidedRightMinX = v5;
if ( m_uniqueID )
{
PlayerObject::storeCollision(a1, (PlayerCollisionDirection)3, m_uniqueID);
a1->m_collidingWithRight = a3;
a1->m_collidingWithLeft = nullptr;
}
}