CMovement::BlendTowardHead
function · collision · primitive
- Address
0x6191c0· 178 bytes, up to0x619271- Signature
uint32_t __thiscall (CMovement *this, uint32_t time, float *position)- Meaning
- Writes head + (p - head) · remaining / +0x14c into p and returns 1, or zeroes +0x14c and returns 0
- Confidence
- verified, proof one
- Finding
- collision/status#position-blend
- Test
collision::pos_lerp_difftest
Finding: Position blend in collision: status
0x6191c0(t, p) pulls a predicted point toward the queue head: with r = head fire time − t and
D = +0x14c, it writes p = head + (p − head) · (r / D) and returns 1. No head, or r < 0,
zeroes +0x14c and returns 0. Precision: f = r / D at 53 bits from two integers; x is
(float)((float)(ex · f) + hx); y is (float)(ey · f + hy) with the product unrounded; z is
(float)((float)((float)ez · f) + hz), where each e is p − head at 53 bits. The only caller,
0x616de0, passes a nonzero +0x14c and p = anchor plus the predicted displacement.
The derivation is in the doc.
Callers 1
- CMovement::IntegrateStep collision
Callees 1
- GetFirstMoveEvent collision
Calls and jumps by a bare address, from tables/calls.tsv.