BindPetPortraitFallback
function · ui · orchestration
- Address
0x525cb0· 117 bytes, up to0x525d24- Signature
void __fastcall (void *widget, uint32_t displayId)- Meaning
- Binds a display id's cached bake, else the pet stand-in texture
- 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 2
Calls and jumps by a bare address, from tables/calls.tsv.