SetCharacterComponentEmblem
function · charactermodel · orchestration
- Address
0x47a610· 584 bytes, up to0x47a857- Signature
void __thiscall (void *this, uint32_t emblemStyle, uint32_t emblemColour, uint32_t borderStyle, uint32_t borderColour, uint32_t backgroundColour)- Meaning
- Applies a guild tabard's five emblem values to a character component
- Confidence
- verified, proof one
- Finding
- charactermodel/equipment#guild-tabard
Finding: Guild tabard in charactermodel: equipment
0x47a610(emblem style, emblem color, border style, border color, background color) fills the tabard cells of groups 3 and 4 from the guild emblem files Textures\GuildEmblems\Background_%02d_TU_U, Border_%02d_%02d_TU_U and Emblem_%02d_%02d_TU_U for group 3, and the _TL_U names for group 4, as columns 2 (background), 3 (border) and 4 (emblem) of the row, loaded as kind 9.
It first clears columns 4 to 2 with 0x47a5c0(4) and marks groups 3 and 4 dirty. The path builders are 0x47a4d0 (background), 0x47a570 (border) and 0x47a520 (emblem). 0x47a860 clears the tabard preview flag +0x0c and the same cells.
The derivation is in the doc.
Callers 7
- ApplyGuildEmblemCallback glue
- BuildCharSelectModel glue
- TabardModel::ApplyPreview ui
- DressUpModel::TryOnItem ui
- CGCorpse_C::SetGuildEmblem objectlayer
- OnGuildEmblem objectlayer
- CGPlayer_C::ApplyTabard objectlayer
Callees 7
- DebugPrintStub unassigned
- FormatEmblemBackgroundPath charactermodel
- FormatEmblemPath charactermodel
- FormatEmblemBorderPath charactermodel
- ClearEmblemCells charactermodel
- TextureCacheGet gx
- TextureCacheRelease gx
Calls and jumps by a bare address, from tables/calls.tsv.