CGUnit_C::ApplyMovementUpdate
function · objectlayer · orchestration
- Address
0x5ff030· 54 bytes, up to0x5ff065- Meaning
- Applies a movement block to the CMovement with the clock, then plays Fall for a falling unit
- Confidence
- verified, proof one
- Finding
- objectlayer/units#the-unit-object
Finding: The unit object in objectlayer: units
0x5fad50(a, block) builds the object part, points +0x118 at the CMovement it
builds at +0x9a8, empties the 182 watcher lists from +0x11c, sets the unit members and the
vtable, and reads the update's movement block (0x5ff070). 0x5fb5e0 tears it down in the reverse order.
Vtable slots 0 to 3 are the deleting destructor, release, reactivation and the post-update pass.
The derivation is in the doc.
Callers 2
- ObjectMovementBlock objectlayer
- CGUnit_C::ReadMovementBlock objectlayer
Callees 3
- OsGetAsyncTimeMs core
- CGUnit_C::PlayFallAnimation objectlayer
- CMovement::ApplyObjectUpdate collision
Calls and jumps by a bare address, from tables/calls.tsv.