benilla-re systems structs docs

CGCharacterModelBase::SetUnitGuid

function · ui · orchestration

Address
0x505b50 · 83 bytes, up to 0x505ba2
Signature
void __thiscall (CGCharacterModelBase *this, uint32_t guid_lo, uint32_t guid_hi)
Meaning
Stores the GUID, clears the display record and, if the frame is visible, builds the model copy
Confidence
verified, proof one
Finding
ui/playermodel#pane-fields

Finding: Pane fields in ui: PlayerModel, DressUpModel and TabardModel

A pane keeps the unit GUID it shows at +0x3e0 and +0x3e4, a latch at +0x3e8 that a rotation sets and the next paint clears, a deadline in milliseconds at +0x3ec, and a creature display record at +0x3f0 for a pane shown from a display instead of a unit. The constructor zeroes all five.

The derivation is in the doc.

Callers 3

Callees 2

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