CMovement::WriteStatus
function · collision · orchestration
- Address
0x7c6340· 219 bytes, up to0x7c641a- Signature
void __thiscall (CMovement *this, uint32_t time, CMovementStatus *status)- Meaning
- Writes the time, transport, positions, facings, pitch, fall and +0x80 fields of a status record
- Confidence
- verified, proof one
- Finding
- collision/falling#status-record-write
Finding: Status record write in collision: falling
0x7c6340(time, status) fills a CMovementStatus. 0x618900 stores the flags masked with
0x75a07dff at status +0x10 first; this function adds the transport bit and the fields below.
| status | value |
|---|---|
| +0x00 | time |
| +0x08 | the transport GUID +0x38, or 0 |
| +0x10 | bit 0x2000000 set with a transport, cleared without |
| +0x14, +0x20 | position +0x10 and facing +0x1c |
| +0x24, +0x30 | world position and facing, from 0x7c4930 and 0x7c4ae0 |
| +0x34, +0x38 | pitch +0x20, fall time +0x78 |
| +0x3c to +0x48 | +0xa0, +0x68, +0x6c, +0x84, when status +0x10 has 0x2000 |
| +0x4c | +0x80, when the mover's +0x40 has 0x4000000 |
The derivation is in the doc.
Callers 1
- InitMovementStatus collision
Callees 2
- CMovement::TransportToWorld collision
- CMovement::TransportFacingToWorld collision
Calls and jumps by a bare address, from tables/calls.tsv.