benilla-re systems structs docs

AaBspSetNodes

function · models · orchestration

Address
0x692f20 · 57 bytes, up to 0x692f58
Signature
void __thiscall (void *this, void *nodes, uint32_t nodeCount, uint16_t *refs, uint32_t refCount, const float *bounds)
Meaning
Points a group's BSP at its MOBN nodes and MOBR face references and copies the group's box
Confidence
verified, proof one
Finding
models/wmo#bsp-tree-setup

Finding: BSP tree setup in models: map objects

A group whose flags have 1 reads MOBN and MOBR among its optional chunks and points its tree at group +0x44 at them: 0x692f20(nodes, nodeCount, refs, refCount, bounds) stores the nodes at tree +0x0 and +0x4, the face references at +0x8, the two counts at +0xc and +0x10 and 0 at +0x48, and copies the group's bounding box to +0x4c. The node count is the MOBN size over 16, the reference count the MOBR size over 2.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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