CMovement::SetTransportFromStatus
function · collision · orchestration
- Address
0x618b30· 29 bytes, up to0x618b4c- Signature
void __thiscall (CMovement *this, const void *status)- Meaning
- Sets the transport to the GUID 0x7c6900 takes from a status, through 0x618970
- Confidence
- inferred
- Finding
- collision/eventapply#transport-attach
Finding: Transport attach in collision: event applies
0x618970(guid) returns 1 at once when the GUID is the current one. Leaving a transport, it
reads that transport's angle (0x630b70), unlinks the movement's rider link at +0x08, zeroes
+0x38 and +0x3c, clears flag 0x8000000 (0x7c6510), clears the model's parent frame and passes
the angle to 0x601050 on the unit. Boarding, it returns 0 when 0x6309b0 refuses; otherwise it
stores the GUID, takes the negated angle (fchs, stored as a float), fills an identity matrix
through 0x630ac0, sets it as the model's parent frame and passes the negated angle. The model is
the unit's +0xdc, else +0xd8. 0x618b30(status) passes the GUID 0x7c6900 takes from a status.
The derivation is in the doc.
Callers 1
- CMovement::ApplyStatusIfDue collision
Callees 2
- CMovement::SwitchTransport collision
- CMovement::ReadStatusTransport collision
Calls and jumps by a bare address, from tables/calls.tsv.