MovementInit
function · client
- Address
0x401a40· 187 bytes, up to0x401afa- Signature
void __cdecl (void)- Meaning
- Runs 0x616860 on the movement log path and registers 0x616800 as the handler of event 5
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- collision/mover#initialisation-and-teardown
Finding: Initialisation and teardown in collision: mover
0x616860 takes the log path in ecx. It allocates the manager, empties the mover list, zeroes
+0x104, +0x108, +0x110, +0x114 and bit 0 of +0x124, stores it with 0x630a30, copies 260
bytes of the path to +0x000, stamps +0x128 and +0x12c with the clock and sets bit 0. Its
caller 0x401a40 then registers 0x616800 with 0x41fca0 as the handler of event 5, with the
values 0 and 0x40000000. 0x616910 closes both log files, unlinks every mover from the list
without freeing it, frees the manager, stores null with 0x630a30, and frees every event node on
the free list 0xc4db88. 0x401bc0 and one other teardown path call it and then unregister
0x616800 from event 5 with 0x41fd80.
The derivation is in the doc.
Callers 2
- ClientInitializeGame client
- LoadNewWorld client
Callees 8
- EventRegisterEx core
- MovementInitialize collision
- SStrChrRCopy storm
- SStrCopy storm
- SStrPrintf storm
- GetCurrentProcessId unassigned
- SRegLoadString storm
- SRegSaveString storm
Calls and jumps by a bare address, from tables/calls.tsv.