benilla-re systems structs docs

CMovement::ArmFacingBlend

function · collision · orchestration

Address
0x619030 · 90 bytes, up to 0x619089
Signature
void __thiscall (CMovement *this, uint32_t time)
Meaning
Arms the facing rate toward the queue head when it carries a status, or zeroes +0x148
Confidence
verified, proof one
Finding
collision/status#facing-rate-toward-the-head

Finding: Facing rate toward the head in collision: status

0x619030(t) arms the facing blend toward a queue head that carries a status, has a tag other than 0x26 and the mover's transport GUID; otherwise it zeroes +0x148. 0x618f80(t0, f0, t1, f1) stores s = (t1 − t0, unsigned, as a 64-bit integer) × 0.001 (0x3a83126f), at 53 bits, to +0x148; |s| < 2⁻²² (0x34800000) becomes 0. A nonzero s gives Δ = f1 − f0, minus 2π (6.2831855, 0x40c90fdb) when Δ > π (0x40490fdb), plus 2π when Δ < −π, NaN unchanged, and stores Δ / s to +0x144. Then |+0x144| < 2⁻²⁰ (0x35800000) zeroes +0x148; NaN keeps it. A head due up to about 10⁹ ms ago wraps s above 3.29·10⁶, so the blend is off.

The derivation is in the doc.

Callers 3

Callees 2

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