benilla-re systems structs docs

CMovement::ResolveStep

function · collision · primitive

Address
0x616cb0 · 113 bytes, up to 0x616d20
Signature
uint32_t __thiscall (CMovement *this, uint32_t time, uint32_t length, const float *delta)
Meaning
Resolves the move to anchor + delta through 0x634040, vertical zeroed unless a live 0x200 spline or flag bit 11 or 21
Confidence
verified, proof one
Finding
collision/mover#substep-apply-and-commit
Test
collision::build_delta_difftest

Finding: Substep apply and commit in collision: mover

0x616cb0(t, r, &delta) forms target = anchor + delta and the displacement target − position: x and y from the unrounded 53-bit target, z from the target rounded to a float, each difference stored as a float. The vertical difference is set to 0 unless the spline is live with bit 0x200 in its +0x18, or flags & 0x200800. It returns what 0x634040(t, r, &disp) returns, its count of milliseconds (resolve topic).

The derivation is in the doc.

Callers 2

Callees 1

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