//
// PlayerObject::getModifiedSlopeYVel from 0x623198 to 0x623208 (112 bytes)
//
// 3 xrefs:
// > PlayerObject::updateJump @ 0x6357a8
// > PlayerObject::postCollision @ 0x6397ac
// > ??> @ 0x6f4f8
//
// 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
//
float PlayerObject::getModifiedSlopeYVel(PlayerObject *a1)
{
double v1; // d1
double v2; // d1
v1 = a1->m_totalTime - a1->m_slopeStartTime;
if ( v1 >= 0.100000001 )
return a1->m_slopeVelocity * 1.0;
v2 = v1 * 10.0;
if ( v2 <= 0.400000006 )
return a1->m_slopeVelocity * 0.400000006;
else
return a1->m_slopeVelocity * v2;
}