CPlayerMoveEvent::FromMoveStatus
function · collision · primitive
- Address
0x617730· 106 bytes, up to0x617799- Signature
void __fastcall (const void *status, CPlayerMoveEvent *event)- Meaning
- Copies a status into an event: transport, flags & 0x75a07dff, local or world pose, pitch and fall time
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- collision/events#filling-from-a-status
Finding: Filling from a status in collision: events
0x617730(status, event) copies the status's transport GUID (+0x08) to +0x28 and its flags
(+0x10) masked with 0x75a07dff to +0x30. With a nonzero GUID it copies the transport-local
position and facing (+0x14, +0x20), else the world ones (+0x24, +0x30), to +0x10 and +0x1c; then
pitch (+0x34) to +0x20, fall time (+0x38) to +0x34, and 1 to +0x4c. 0x618900(time, status)
builds an outgoing status: it stores the CMovement flags & 0x75a07dff at status +0x10 first,
then calls 0x7c6340, which reads that word back and sets 0x2000000 when on a transport, else
clears it. The mask clears 0x200, 0x8000, 0x10000 to 0x100000, 0x400000, 0x2000000, 0x8000000 and
0x80000000.
The derivation is in the doc.
Callers 2
- CMovement::AddPlayerMoveEvent collision
- CMovement::AddLaunchMoveEvent collision
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.