benilla-re systems structs docs

BindPlayerPortraitFallback

function · ui · orchestration

Address
0x525ba0 · 261 bytes, up to 0x525ca4
Meaning
Binds a player's cached bake, else the stand-in texture for its sex and race
Confidence
verified, proof one
Finding
ui/portraits#stand-in-portraits

Finding: Stand-in portraits in ui: unit portraits

0x525ba0(widget, race, sex, guid) binds the cached GUID entry's texture when the entry has one; otherwise it loads the stand-in TemporaryPortrait-<sex>-<race> from the CharacterFrame folder, the sex word picked from the table at 0x856450 and the race name from the ChrRaces row +0x3c. 0x525cb0(widget, displayId) binds the display-id entry's texture, else loads TemporaryPortrait-Pet.

The derivation is in the doc.

Callers 1

Callees 3

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