benilla-re systems structs docs

CM2Model::SetVisible

function · models · orchestration

Address
0x710c50 · 36 bytes, up to 0x710c73
Meaning
Sets an instance's visible flag, kept apart for attached instances
Confidence
verified, proof one
Finding
animation/kernel#parent-driven-state

Finding: Parent-driven state in animation: the animate pass

With a parent (+0x1cc) the pass sets +0x50, the effective visible flag, to 1 when the parent's +0x50 and this instance's own flag +0x1d8 are both nonzero, else to 0, and copies the parent's +0x17c, the transport matrix pointer, into +0x17c. Without a parent it writes neither. +0x84 is the parent's +0x84 when there is a parent whose +0x4 has bit 0 clear. Otherwise it is (x² + y²) + z² of the world matrix translation +0x12c, +0x130, +0x134, summed at 53 bits and rounded to a float once.

The derivation is in the doc.

Callers 16

Callees 0

None by a direct call or jump.

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