benilla-re systems structs docs

CMovement::ArmPositionBlend

function · collision · primitive

Address
0x619090 · 290 bytes, up to 0x6191b1
Signature
void __thiscall (CMovement *this, uint32_t time)
Meaning
Stores the ms to the queue head in +0x14c when the predicted point misses it by 1/36 or more, else 0
Confidence
verified, proof one
Finding
collision/status#position-blend-arming
Test
collision::reconcile_gate_difftest

Finding: Position blend arming in collision: status

0x619090(t) arms the position blend toward the queue head under the same three gates. With r = head fire time − t, it predicts the displacement after +0x58 + r ms through 0x7c5360 and the facing rate 0x618920(); on success the predicted point is that displacement plus the anchor +0x44. When swimming (flags & 0x200000) the miss is (dz² + dy²) + dx², otherwise dy² + dx², each difference predicted minus head. A miss of at least 1/1296 (0.00077160494, 0x3a4a4588), or NaN, stores r in +0x14c; a smaller miss, a failed gate or a failed prediction stores 0.

The derivation is in the doc.

Callers 3

Callees 3

Calls and jumps by a bare address, from tables/calls.tsv.