ReadMovementBlock
function · objectlayer · primitive
- Address
0x47f050· 333 bytes, up to0x47f19c- Signature
CDataStore * __fastcall (CDataStore *msg, void *movement)- Meaning
- Reads an update's movement block: status, six speeds and the flagged spline, its start from the clock
- Confidence
- verified, proof one
- Finding
- objectlayer/movement#movement-block
- Test
objectlayer::movement_block_decode_difftest
Finding: Movement block in objectlayer: movement
An update's movement block is a status, six floats of speeds into +0x50 to +0x64, and, with
flag 0x400000 (spline), a spline: u32 spline flags; with 0x10000 three floats, a point; with
0x20000 a u64 GUID; with 0x40000 a float, an angle; an i32 elapsed time, a u32 duration, a
u32 id, a u32 node count, that many nodes of three floats, and three floats, the destination. The
client stores the spline's start as the clock now minus the elapsed time.
| offset | field |
|---|---|
+0x50 | six speeds |
+0x68 | spline target GUID |
+0x70 | spline point |
+0x7c | spline angle |
+0x80 | spline flags |
+0x84 | spline start time |
+0x8c | duration |
+0x90 | spline id |
+0x94 | nodes |
+0xc0 | destination |
The derivation is in the doc.
Callers 4
- ObjectCreateNotify objectlayer
- ObjectCreateBlock objectlayer
- ObjectRecreate objectlayer
- ObjectMovementBlock objectlayer
Callees 8
- CDataStore::GetInt32 base
- CDataStore::GetUInt32 base
- CDataStore::GetGuid base
- CDataStore::GetFloat base
- CDataStore::GetDataInSitu base
- OsGetAsyncTimeMs core
- SetSplinePath spline
- CMovementStatus::Read objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.