MovementSetGlobals
function · collision · orchestration
- Address
0x630a30· 5 bytes, up to0x630a34- Signature
void __fastcall (void *globals)- Meaning
- Stores the movement globals at +0xd4 of the current object manager, by a tail jump
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- collision/world#movement-globals
Finding: Movement globals in collision: world
MovementSetGlobals (0x630a30) and MovementGetGlobals (0x630a40) are tail jumps to
0x468600 and 0x4685e0, which store ecx at, and return, +0xd4 of the current object manager
0xb41414; with no manager the store is skipped and the get returns 0. The globals are one
312-byte block that MovementInitialize (0x616860) allocates and sets: a copy of its
260-byte path argument at +0x00, two handles at +0x104 and +0x108, an empty list at +0x118 to
+0x120, bit 0 of +0x124 set, and the clock at +0x128 and +0x12c. MovementIdleMoveUnits
(0x616800) reads +0x128 as the time of the last pass. MovementDestroy (0x616910) closes the
handles, empties the list, frees the block and sets the globals to null.
The derivation is in the doc.
Callers 2
- MovementInitialize collision
- MovementDestroy collision
Callees 1
- ClntObjMgrSetMovementGlobals objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.