//
// PlayerObject::setYVelocity from 0x622ad0 to 0x622b00 (48 bytes)
//
// 56 xrefs:
// > PlayerObject::addToYVelocity @ 0x622b18
// > PlayerObject::boostPlayer @ 0x62941c
// > PlayerObject::propellPlayer @ 0x629724
// > PlayerObject::pushDown @ 0x629bac
// > PlayerObject::specialGroundHit @ 0x629bec
// > PlayerObject::hitGround @ 0x62d048
// > PlayerObject::hardFlipGravity @ 0x62ea24
// > PlayerObject::collidedWithObjectInternal @ 0x62f560
// > PlayerObject::collidedWithObjectInternal @ 0x62f584
// > PlayerObject::collidedWithObjectInternal @ 0x62f6e0
// > PlayerObject::collidedWithObjectInternal @ 0x62f7f0
// > PlayerObject::collidedWithObjectInternal @ 0x62fdcc
// > PlayerObject::collidedWithObjectInternal @ 0x62fdf4
// > PlayerObject::collidedWithObjectInternal @ 0x62fec4
// > PlayerObject::collidedWithObjectInternal @ 0x62feec
// > PlayerObject::collidedWithObjectInternal @ 0x62ff98
// > PlayerObject::collidedWithObjectInternal @ 0x630204
// > PlayerObject::collidedWithObjectInternal @ 0x630350
// > PlayerObject::collidedWithObjectInternal @ 0x630374
// > PlayerObject::copyAttributes @ 0x631e14
// > PlayerObject::spawnFromPlayer @ 0x631ecc
// > PlayerObject::spawnFromPlayer @ 0x631f14
// > PlayerObject::resetObject @ 0x6325f0
// > PlayerObject::spiderTestJumpInternal @ 0x6343cc
// > PlayerObject::spiderTestJumpInternal @ 0x63496c
// > PlayerObject::updateJump @ 0x634e48
// > PlayerObject::updateJump @ 0x634fdc
// > PlayerObject::updateJump @ 0x635040
// > PlayerObject::updateJump @ 0x6350fc
// > PlayerObject::updateJump @ 0x635120
// > PlayerObject::updateJump @ 0x6354e8
// > PlayerObject::updateJump @ 0x6355ac
// > PlayerObject::updateJump @ 0x635748
// > PlayerObject::updateJump @ 0x6357f4
// > PlayerObject::updateJump @ 0x6358dc
// > PlayerObject::updateJump @ 0x635904
// > PlayerObject::updateJump @ 0x635a44
// > PlayerObject::updateJump @ 0x635a80
// > PlayerObject::updateJump @ 0x635c40
// > PlayerObject::spiderTestJumpY @ 0x636200
// > PlayerObject::spiderTestJumpX @ 0x636c5c
// > PlayerObject::collidedWithSlopeInternal @ 0x637a2c
// > PlayerObject::collidedWithSlopeInternal @ 0x637a98
// > PlayerObject::collidedWithSlopeInternal @ 0x6381d8
// > PlayerObject::collidedWithSlopeInternal @ 0x63829c
// > PlayerObject::collidedWithSlopeInternal @ 0x638454
// > PlayerObject::postCollision @ 0x6399f8
// > PlayerObject::loadFromCheckpoint @ 0x63b678
// > PlayerObject::loadFromCheckpoint @ 0x63b700
// > PlayerObject::ringJump @ 0x63c248
// > PlayerObject::ringJump @ 0x63c538
// > PlayerObject::init @ 0x63dc68
// > PlayerObject::update @ 0x63ffb0
// > GJBaseGameLayer::checkCollisions @ 0x894c64
// > GJBaseGameLayer::loadUpToPosition @ 0x89d5f0
// > ??> @ 0x78cf0
//
// 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; // d1
v3 = (double)(int)a2;
if ( v3 != a2 )
a2 = v3 + round((a2 - v3) * 1000.0) / 1000.0;
a1->m_yVelocity = a2;
}