CMapObj::CollectGroupBoxFacets
function · models · primitive
- Address
0x6a3b10· 266 bytes, up to0x6a3c19- Meaning
- Collects the facets of a map object's loaded groups whose bounds overlap a box
- Confidence
- verified, proof one
- Finding
- models/collisionquery#group-enumeration
Finding: Group enumeration in models: WMO movement query
0x6a3b10(out, box, placement, class) walks a map object's groups and keeps those that pass two
gates. A group's bounds in the group info array (+0x130, stride 0x20) must overlap the query box
(a closed overlap, so a box inside a group's bounds always passes, and equal edges pass), and the
group must be loaded: 0x6a4a00 is called with unloaded groups disallowed and returns 0 for a
group whose file flag +0x164 is clear, which is skipped without error. No flag of the group's
header or of its info entry is read. A kept group goes to 0x6b91c0; the result is the OR of its answers.
The derivation is in the doc.
Callers 2
- GatherMapObjectFacets terrain
- TestMapObjectBox terrain
Callees 2
- CMapObj::GetLoadedGroup models
- CMapObjGroup::CollectBoxFacets models
Calls and jumps by a bare address, from tables/calls.tsv.