benilla-re systems structs docs

CGUnit_C::GetModelPath

function · objectlayer · orchestration

Address
0x600320 · 120 bytes, up to 0x600397
Meaning
Returns the display's model path (vtable slot 10), or Spells\ErrorCube.mdx after a log line
Confidence
verified, proof one
Finding
objectlayer/unitdisplay#display-records

Finding: Display records in objectlayer: unit display

0x60afb0 resolves the display: the CreatureDisplayInfo row at +0xb34, its extra row at +0xb38, its model data at +0xb3c, the sound data at +0xb40 (the display's own, else the model's) and the blood levels at +0xb48. An unknown display id prints NOUNITDISPLAYID and falls back to the table's first row. The model path (vtable slot 10) falls back to Spells\ErrorCube.mdx instead.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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