//
// PlayerObject::getModifiedSlopeYVel from 0x435540 to 0x43559c (92 bytes)
//
// 2 xrefs:
// > PlayerObject::postCollision @ 0x442b64
// > PlayerObject::updateJump @ 0x4449f8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:48:18 +0000
//
int __fastcall PlayerObject::getModifiedSlopeYVel(PlayerObject *this)
{
double v1; // d7
double v2; // d7
float v3; // s15
v1 = *((double *)this + 266) - *((double *)this + 154);
if ( v1 >= 0.100000001 )
{
v2 = 1.0;
}
else
{
v2 = v1 * 10.0;
if ( v2 <= 0.400000006 )
v2 = 0.400000006;
}
v3 = *((float *)this + 487) * v2;
return LODWORD(v3);
}