//
// PlayerObject::getModifiedSlopeYVel from 0x33d570 to 0x33d5cc (92 bytes)
//
// 2 xrefs:
// > PlayerObject::updateJump @ 0x349790
// > PlayerObject::postCollision @ 0x34c7ac
//
// 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; // d7
double v2; // d7
v1 = a1->m_totalTime - a1->m_slopeStartTime;
if ( v1 >= 0.100000001 )
{
v2 = 1.0;
}
else
{
v2 = v1 * 10.0;
if ( v2 <= 0.400000006 )
v2 = 0.400000006;
}
return a1->m_slopeVelocity * v2;
}