benilla-re systems structs docs

CMovement::ApplyTeleport

function · collision · orchestration

Address
0x6186b0 · 108 bytes, up to 0x61871b
Signature
uint32_t __thiscall (CMovement *this, uint32_t time, const void *status)
Meaning
Applies a teleport now with tag 38 to the status pose, transport-local or world, else leaves it queued
Confidence
verified, proof one
Finding
collision/eventapply#teleport-apply

Finding: Teleport apply in collision: event applies

0x617e90(transport, position, facing, endSpline, send) sets the transport through 0x617170 and stops unless CMovement+0x38 then equals the given GUID. It then computes d² = (dz² + dy²) + dx² of the old position +0x10 minus the new one, at 53 bits; places it (0x7c69a0); deactivates it when the queue is empty; unless send is nonzero and the unit is not the one this client moves, starts a fall and activates the movement when one starts; re-resolves the world position (0x7c4930, 0x634030); calls 0x6309f0, and 0x630bd0 when d² exceeds 900.0; and zeroes +0x148 and +0x14c. 0x6186b0 applies tag 38 with the status's transport-local pose, or its world pose off a transport; 0x618720 queues tag 38 with a counter, position and facing.

The derivation is in the doc.

Callers 1

Callees 2

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