benilla-re systems structs docs

RefreshNodeCallback

function · objectlayer · orchestration

Address
0x615030 · 53 bytes, up to 0x615064
Signature
int __stdcall (uint32_t lo, uint32_t hi)
Meaning
Rebuilds one object's node with flag 1 and continues the enumeration
Confidence
verified, proof one
Finding
objectlayer/objectbase#the-node-transform

Finding: The node transform in objectlayer: the base object

0x613ef0(flag) rebuilds the node's matrix: a translation to slot 5's position, a rotation about Z by slot 6's facing, and a uniform scale of +0x90 · +0x94 · (+0x9c with a second model, else +0x98). With a loaded body it takes the collision box's centre as the node's pivot. It passes the matrix, the pivot, the bounds +0xc0 and the flag to SetWorldObjectBounds. 0x615030 calls it with 1 for one object, and 0x615020 enumerates every object into it.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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