CMovement::Detach
function · collision · orchestration
- Address
0x7c5950· 201 bytes, up to0x7c5a18- Signature
void __thiscall (CMovement *this)- Meaning
- Ends the spline, unlinks the list and transport links, clears the transport GUID and two flags
- Confidence
- verified, proof one
- Finding
- collision/kinematics#teardown
Finding: Teardown in collision: kinematics
0x7c5950 releases a CMovement's links: it ends the spline through 0x7c6310 and unlinks the
links at +0x00 and +0x08, each when its first dword is set. When the second dword of the
+0x08 link was set and the transport GUID is not 0, it calls the empty 0x630c10 with the
owner's and the transport's GUIDs. It then zeroes +0x38 and +0x3c, clears flag 0x08000000
through 0x7c6510, and clears bit 31 of +0x40.
0x7c4e90 jumps to 0x7c4ea0, which closes the file at offset 0x104 of the movement globals
(0x630a40) and zeroes it.
The derivation is in the doc.
Callers 1
- CMovement::~CMovement collision
Callees 3
- NotifyTransportDropped collision
- CMovement::ClearSpline collision
- CMovement::ClearFlagBit27 collision
Calls and jumps by a bare address, from tables/calls.tsv.