//
// PlayerObject::getModifiedSlopeYVel from 0x74f060 to 0x74f0d0 (112 bytes)
//
// 3 xrefs:
// > PlayerObject::postCollision @ 0x762174
// > PlayerObject::updateJump @ 0x7642a4
// > ??> @ 0x96028
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:52:54 +0000
//
float __fastcall PlayerObject::getModifiedSlopeYVel(PlayerObject *this)
{
double v1; // d1
double v2; // d1
v1 = *((double *)this + 328) - *((double *)this + 178);
if ( v1 >= 0.100000001 )
return *((float *)this + 603) * 1.0;
v2 = v1 * 10.0;
if ( v2 <= 0.400000006 )
return *((float *)this + 603) * 0.400000006;
else
return *((float *)this + 603) * v2;
}