CMovement::ReadStatusPosition
function · collision · orchestration
- Address
0x7c6420· 100 bytes, up to0x7c6483- Signature
void __thiscall (CMovement *this, const CMovementStatus *status)- Meaning
- Copies a status record's world position, facing and pitch into the mover and its anchor, then updates the speed
- Confidence
- verified, proof one
- Finding
- collision/falling#status-record-read
Finding: Status record read in collision: falling
0x7c6420(status) copies status +0x24 to the position +0x10 and the anchor +0x44, +0x30 to
the facing +0x1c and +0x50, +0x34 to the pitch +0x20 and +0x54, and +0x4c to +0x80
whatever the flags; it zeroes +0x58 and calls 0x7c5c20(0). 0x7c6490(status, unused) copies
+0x38 to +0x78 and +0x3c to +0xa0, sets +0x7c to 0x7c5f30(+0x38), copies +0x40 and
+0x44 to +0x68, +0x6c and to +0x5c, +0x60 with +0x64 = 0, and +0x48 to +0x84.
0x7c6900(status) acts when status +0x08 names a transport that 0x630a80 accepts: it puts
status +0x14 in +0x10 and +0x44, +0x20 in +0x1c and +0x50, sets +0x7c to
0x7c5f30(+0x78), and subtracts (+0x2c − +0x1c) from +0x80. It returns that GUID, else 0.
The derivation is in the doc.
Callers 1
- CMovement::ApplyStatusIfDue collision
Callees 1
- CMovement::UpdateCurrentSpeed collision
Calls and jumps by a bare address, from tables/calls.tsv.