//
// PlayerObject::setYVelocity from 0x33d0d8 to 0x33d124 (76 bytes)
//
// 49 xrefs:
// > PlayerObject::addToYVelocity @ 0x33d14e
// > PlayerObject::boostPlayer @ 0x341b70
// > PlayerObject::propellPlayer @ 0x341d62
// > PlayerObject::pushDown @ 0x342034
// > PlayerObject::specialGroundHit @ 0x342066
// > PlayerObject::hitGround @ 0x3442ca
// > PlayerObject::hardFlipGravity @ 0x3452fc
// > PlayerObject::collidedWithObjectInternal @ 0x345ec4
// > PlayerObject::collidedWithObjectInternal @ 0x345eec
// > PlayerObject::collidedWithObjectInternal @ 0x345f6a
// > PlayerObject::collidedWithObjectInternal @ 0x345f9e
// > PlayerObject::collidedWithObjectInternal @ 0x34607a
// > PlayerObject::collidedWithObjectInternal @ 0x34623c
// > PlayerObject::collidedWithObjectInternal @ 0x346554
// > PlayerObject::collidedWithObjectInternal @ 0x34657c
// > PlayerObject::collidedWithObjectInternal @ 0x346612
// > PlayerObject::collidedWithObjectInternal @ 0x346646
// > PlayerObject::collidedWithObjectInternal @ 0x3466c4
// > PlayerObject::copyAttributes @ 0x3477e8
// > PlayerObject::spawnFromPlayer @ 0x347874
// > PlayerObject::resetObject @ 0x347c26
// > PlayerObject::spiderTestJumpInternal @ 0x34920a
// > PlayerObject::updateJump @ 0x349724
// > PlayerObject::updateJump @ 0x3497e6
// > PlayerObject::updateJump @ 0x349a9c
// > PlayerObject::updateJump @ 0x349dcc
// > PlayerObject::updateJump @ 0x349e34
// > PlayerObject::updateJump @ 0x349ef2
// > PlayerObject::updateJump @ 0x349f96
// > PlayerObject::updateJump @ 0x349fe8
// > PlayerObject::updateJump @ 0x34a060
// > PlayerObject::updateJump @ 0x34a0aa
// > PlayerObject::updateJump @ 0x34a0d6
// > PlayerObject::spiderTestJumpY @ 0x34a65c
// > PlayerObject::spiderTestJumpX @ 0x34af2e
// > PlayerObject::collidedWithSlopeInternal @ 0x34bcb8
// > PlayerObject::collidedWithSlopeInternal @ 0x34bfe4
// > PlayerObject::collidedWithSlopeInternal @ 0x34c072
// > PlayerObject::collidedWithSlopeInternal @ 0x34c172
// > PlayerObject::collidedWithSlopeInternal @ 0x34c1b4
// > PlayerObject::postCollision @ 0x34d6a8
// > PlayerObject::ringJump @ 0x34e494
// > PlayerObject::ringJump @ 0x34e6e6
// > PlayerObject::update @ 0x34f2a4
// > PlayerObject::loadFromCheckpoint @ 0x350a32
// > PlayerObject::loadFromCheckpoint @ 0x350a6e
// > PlayerObject::init @ 0x351180
// > GJBaseGameLayer::checkCollisions @ 0x493e04
// > GJBaseGameLayer::loadUpToPosition @ 0x496f4c
//
// 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 PlayerObject::setYVelocity(PlayerObject *a1, double a2, int a3)
{
double v3; // d7
double v5; // d8
double v6; // r0
v3 = a2;
v5 = (double)(int)a2;
if ( a2 != v5 )
{
LODWORD(v6) = round();
v3 = v5 + v6 / 1000.0;
}
a1->m_yVelocity = v3;
}