GatherGroupTilesAt
function · terrain · orchestration
- Address
0x69daa0· 140 bytes, up to0x69db2b- Signature
uint8_t __thiscall (void *this, const NTempest::CAaBox *box, void *list, uint32_t limit)- Meaning
- Finds the entity's map object group, moves the box into the model frame and gathers the tiles with 0x6a5200
- Confidence
- verified, proof one
- Finding
- minimap/interior#interior-query
Finding: Interior query in minimap: interior
The update asks for the interior tiles with 0x670520(node, box, list, limit), which calls 0x69daa0. That function asks 0x69d4f0 for the map object instance, its model, the player's group node and the group (four stack outputs; 0 when none), moves the box into the model frame with the matrix at +0xd4. It tail-calls 0x6a5200 on the model with the group index at +0x7c of the group node, the model-frame box, the list and the limit. 0x6a5200 counts one more visit pass, returns 0 when the byte at +0x1d4 of the map object is clear or the seed group is not loaded, and otherwise floods from the seed with a copy of the box whose maximum z is the seed group's.
The derivation is in the doc.
Callers 1
- GatherEntityGroupTiles terrain
Callees 3
- FindMapObjectGroupAt terrain
- CMapObj::GatherBoxGroupsAt models
- TransformBox unassigned
Calls and jumps by a bare address, from tables/calls.tsv.