CMovement::CMovement
function · collision · orchestration
- Address
0x616fa0· 178 bytes, up to0x617051- Signature
CMovement * __thiscall (CMovement *this, const float *position, float facing, const uint64_t *guid, void *unit)- Meaning
- Builds a CMovement: the shared part through 0x7c4850, then the collision size, the ring and the event queue
- Confidence
- verified, proof one
- Finding
- collision/mover#construction
Finding: Construction in collision: mover
0x616fa0(position, facing, guid, unit) runs 0x7c4850(position, facing, guid) for +0x00 to
+0xab, then sets the rest of the 352-byte CMovement, which has no vtable, in this order:
| field | value |
|---|---|
+0x13c, +0x148, +0x14c | 0 |
+0xb0 | 0.33333334 (0x3eaaaaab) |
+0xb4 | 2.0277777 (0x4001c71c) |
+0xb8 | 1.0 |
+0x154, +0x158, +0x150 | &+0x154, &+0x154 with bit 0 set, link offset 0 |
+0x15c | unit |
| (call) | 0x7c5a20(0) |
+0xbc to +0xf8 | sixteen −50 |
+0xfc to +0x138 | sixteen 50 |
+0x140 | 50 |
+0x144 is left unset. It returns this.
The derivation is in the doc.
Callers 1
- CGUnit_C::CGUnit_C objectlayer
Callees 2
- CMovement::InitState collision
- CMovementData::CalcDirection collision
Calls and jumps by a bare address, from tables/calls.tsv.