CMovement::SetTransportGuid
function · collision · orchestration
- Address
0x617170· 572 bytes, up to0x6173ab- Signature
uint32_t __thiscall (CMovement *this, uint32_t guidLow, uint32_t guidHigh)- Meaning
- Moves the mover and its queued facings between world and transport space and stores the transport GUID
- Confidence
- verified, proof one
- Finding
- collision/mover#transport-change
Finding: Transport change in collision: mover
0x617170(g) makes g the transport GUID at +0x38. It returns 0 when g equals it, or g ≠ 0
and 0x630a80(g) is 0. Leaving a transport, 0x7c6790(&m) fills a matrix m (from the
identity) and returns an angle f; the unit's model, +0xdc else +0xd8, gets 0x718910(0);
then 0x601050(f) and 0x6115e0(&m, f) on the unit, and 0x617080(f). Boarding repeats this
with f = 0x7c6840(g, &m2, &m), 0x718910(&m) and 0x6115e0(&m2, f). It stores g, calls
0x6309f0(owner GUID, g) and returns 1. 0x617100(g) adds a heartbeat at the manager's +0x128 for the
active mover off a live spline. 0x6173b0(g) refuses to clear the transport while 0x630ba0 holds for the
position, and only for the active mover off a live spline calls 0x617170.
The derivation is in the doc.
Callers 3
- CMovement::SetTransport collision
- CMovement::SetTransportFromSupport collision
- CMovement::Teleport collision
Callees 8
- CGUnit_C::RotateFacings objectlayer
- CGUnit_C::OnAutoMoveTransportChange objectlayer
- CMovement::RotateQueuedFacings collision
- NotifyCameraTransportChange collision
- TestTransportFlagBit3 collision
- CM2Model::SetTransportFrame models
- CMovement::LeaveTransport collision
- CMovement::BoardTransport collision
Calls and jumps by a bare address, from tables/calls.tsv.