benilla-re systems structs docs

CMapObj::IsGroupParsed

function · models · orchestration

Address
0x6a42b0 · 39 bytes, up to 0x6a42d6
Signature
uint8_t __thiscall (CMapObj *this, uint32_t index)
Meaning
Returns a group's parsed byte +0x164, or 0 for an unloaded map object
Confidence
verified, proof one
Finding
terrain/collide#map-object-gather

Finding: Map object gather in terrain: collide

0x6aaab0(box, list, mask, flags) gathers the facets of the map objects and their groups in a box, 1, or 0 when one there is not ready. Each instance of the map object list whose box +0x44 overlaps the box, but one with bit 0 of byte +0xd or no map object +0x118, needs its map object loaded (+0x1d4) and a def group, or the gather fails. The box, moved about its centre into the instance's space, is tested against the map object (0x6a4670): a pass gathers its group facets under 0xf0, ORing s_batchOverflow into *flags, its liquid under 0xf0000. Each overlapping def group must be loaded and its doodads (0xf0000f) ready (Doodad gather leg), then its game objects under 0xf00000.

The derivation is in the doc.

Callers 7

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.