//
// PlayerObject::setYVelocity from 0x74e998 to 0x74e9c8 (48 bytes)
//
// 59 xrefs:
// > PlayerObject::addToYVelocity @ 0x74e9e0
// > PlayerObject::pushDown @ 0x753e74
// > PlayerObject::specialGroundHit @ 0x753eb4
// > PlayerObject::hardFlipGravity @ 0x7550cc
// > PlayerObject::propellPlayer @ 0x7562bc
// > PlayerObject::boostPlayer @ 0x756480
// > PlayerObject::hitGround @ 0x75a560
// > PlayerObject::collidedWithObjectInternal @ 0x75b698
// > PlayerObject::collidedWithObjectInternal @ 0x75b6bc
// > PlayerObject::collidedWithObjectInternal @ 0x75b818
// > PlayerObject::collidedWithObjectInternal @ 0x75b928
// > PlayerObject::collidedWithObjectInternal @ 0x75bf04
// > PlayerObject::collidedWithObjectInternal @ 0x75bf2c
// > PlayerObject::collidedWithObjectInternal @ 0x75bffc
// > PlayerObject::collidedWithObjectInternal @ 0x75c024
// > PlayerObject::collidedWithObjectInternal @ 0x75c0d0
// > PlayerObject::collidedWithObjectInternal @ 0x75c33c
// > PlayerObject::collidedWithObjectInternal @ 0x75c488
// > PlayerObject::collidedWithObjectInternal @ 0x75c4ac
// > PlayerObject::copyAttributes @ 0x75d4d0
// > PlayerObject::spawnFromPlayer @ 0x75d588
// > PlayerObject::spawnFromPlayer @ 0x75d5d0
// > PlayerObject::resetObject @ 0x75dfb0
// > PlayerObject::collidedWithSlopeInternal @ 0x75fc04
// > PlayerObject::collidedWithSlopeInternal @ 0x75fc70
// > PlayerObject::collidedWithSlopeInternal @ 0x7603ac
// > PlayerObject::collidedWithSlopeInternal @ 0x760470
// > PlayerObject::collidedWithSlopeInternal @ 0x760628
// > PlayerObject::postCollision @ 0x7623c0
// > PlayerObject::spiderTestJumpInternal @ 0x762ee8
// > PlayerObject::spiderTestJumpInternal @ 0x76348c
// > PlayerObject::updateJump @ 0x763968
// > PlayerObject::updateJump @ 0x763b08
// > PlayerObject::updateJump @ 0x763b6c
// > PlayerObject::updateJump @ 0x763c28
// > PlayerObject::updateJump @ 0x763c4c
// > PlayerObject::updateJump @ 0x763fe4
// > PlayerObject::updateJump @ 0x7640a8
// > PlayerObject::updateJump @ 0x764244
// > PlayerObject::updateJump @ 0x7642f0
// > PlayerObject::updateJump @ 0x7643d4
// > PlayerObject::updateJump @ 0x7643fc
// > PlayerObject::updateJump @ 0x76453c
// > PlayerObject::updateJump @ 0x764578
// > PlayerObject::updateJump @ 0x764740
// > PlayerObject::spiderTestJumpY @ 0x764c98
// > PlayerObject::spiderTestJumpX @ 0x7656f4
// > PlayerObject::init @ 0x7677e0
// > PlayerObject::update @ 0x769884
// > PlayerObject::ringJump @ 0x769f88
// > PlayerObject::ringJump @ 0x76a834
// > PlayerObject::loadFromCheckpoint @ 0x76bcac
// > PlayerObject::loadFromCheckpoint @ 0x76bd28
// > GJBaseGameLayer::setupLevelStart @ 0x9e8164
// > GJBaseGameLayer::setupLevelStart @ 0x9e8234
// > GJBaseGameLayer::setupLevelStart @ 0x9e8250
// > GJBaseGameLayer::checkCollisions @ 0x9e9880
// > GJBaseGameLayer::loadUpToPosition @ 0x9ebecc
// > ??> @ 0xa1920
//
// 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
//
__int64 __fastcall PlayerObject::setYVelocity(__int64 this, double a2)
{
double v2; // d1
v2 = (double)(int)a2;
if ( v2 != a2 )
a2 = v2 + round((a2 - v2) * 1000.0) / 1000.0;
*(double *)(this + 2392) = a2;
return this;
}