benilla-re systems structs docs

CM2Model::Detach

function · models · orchestration

Address
0x713020 · 77 bytes, up to 0x71306c
Meaning
Detaches an instance from its parent and releases the parent's reference to it
Confidence
verified, proof one
Finding
models/model#attachments

Finding: Attachments in models: the instance

Attach(parent, id) takes an instance off the animate list, stores the parent and id, resolves the id to the parent's attachment index (0xffff while the parent loads) and links it first among the parent's children. An attached instance animates through its parent. GetAttachmentPosition transforms the attachment's offset by its bone matrix and the scene matrix.

The derivation is in the doc.

Callers 20

Callees 1

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