benilla-re systems structs docs

CGDynamicObject_C::GetModelPath

function · objectlayer · primitive

Address
0x5d5890 · 45 bytes, up to 0x5d58bc
Signature
const char * __thiscall (CGDynamicObject_C *this)
Meaning
Returns the model path of the object's effect-name row, or 0
Confidence
verified, proof one
Finding
objectlayer/dynamicobjects#the-model

Finding: The model in objectlayer: dynamic objects

Slot 10 (0x5d5890) names the object's model. The spell id selects the spell row, the spell's SpellVisual row must have a nonzero field at +0x2c, and the SpellVisualEffectName row its +0x30 indexes gives the model path at +0x8. Each failure prints a message (NOSPELLIDFOUND, SPELLVISUALIDNOTFOUND, SPELLEFFECTNOAREAEFFECT, SPELLEFFECTIDNOTFOUND, and NOOBJECTFILENAME|%d|Dynamic from the slot) and gives no path.

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.