//
// PlayerObject::setYVelocity from 0x100218f30 to 0x100218f64 (52 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::checkCollisions @ 0x1001e78e4
// > GJBaseGameLayer::loadUpToPosition @ 0x1001fce74
//
// 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 __fastcall PlayerObject::setYVelocity(PlayerObject *a1, double a2, int a3)
{
double v3; // d1
v3 = (double)(int)a2;
if ( v3 != a2 )
a2 = round((a2 - v3) * 1000.0) / 1000.0 + v3;
a1->m_yVelocity = a2;
}