InitMmInRangeArray
function · minimap · orchestration
- Address
0x6d8b60· 10 bytes, up to0x6d8b69- Signature
void __cdecl (void)- Meaning
- Runs 0x6d8b70 and registers the destructor 0x6d8ba0
- Confidence
- verified, proof one
- Finding
- minimap/overview#static-objects
Finding: Static objects in minimap: overview
The file builds twelve groups of static state with its own slots, each a slot function that calls a body and registers an exit
destructor with _atexit. Four more slots store products of constants: the half tile width 0xceaa94 and the half tile height 0xceaa90
(533.3333 times 0.5, each from its own copy of the constant), and the map origins 0xceaa8c and 0xceaa88 (533.3333 times 64 times 0.5, which is 17066.666).
| group | body | what it initializes |
|---|---|---|
0x6d86e0 | 0x6d86f0 | the cached player position 0xceaa7c to 0xceaa84, zero |
0x6d8730 | 0x6d8740 | the cached tile indices 0xceaa74 and 0xceaa78 of the window's first tile, zero |
0x6d8770 | 0x6d8780 | the cached tile indices 0xceaa6c and 0xceaa70 of its last tile, zero |
0x6d87b0 | 0x6d87c0 | the orientation matrix 0xceaa20, identity |
0x6d8890 | 0x6d88a0 | the second matrix 0xcea9e0, identity |
0x6d8970 | 0x6d8980 | the window bounds 0xcea9c4 to 0xcea9d8, zero |
0x6d89e0 | 0x6d89f0 | the three static blip records, each built by 0x573ac0, and 0x6d8a20 destroys them with 0x573ad0 |
0x6d8a40 | 0x6d8a50 | the candidate array at 0xcea694, empty |
0x6d8aa0 | 0x6d8ab0 | the flag array at 0xcea688, empty |
0x6d8b00 | 0x6d8b10 | the flag array at 0xcea67c, empty |
0x6d8b60 | 0x6d8b70 | the in-range array at 0xcea668, empty |
0x6d8bc0 | 0x6d8bd0 | the catalog table 0xcea628 to 0xcea64c, empty |
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 2
- InitMmInRangeArrayBody minimap
- InitMmInRangeArrayAtExit minimap
Calls and jumps by a bare address, from tables/calls.tsv.