SetCharacterSkinColor
function · charactermodel · orchestration
- Address
0x478790· 354 bytes, up to0x4788f1- Signature
void __thiscall (void *this, int32_t skin, bool detail)- Meaning
- Sets a character component's skin colour index
- Confidence
- verified, proof one
- Finding
- charactermodel/customization#skin
Finding: Skin in charactermodel: customization
0x478790(skin, face detail) stores +0x24 and, unless baked, builds the skin. When the skin is below the base count of skin variation 0 it loads the underwear cells +0x208 and +0x20c from section 4: the two texture names of the row ids[skin] of variation 0,
kind 5, each skipped when empty. It then applies the body skin (0x478160), makes the skin cell (section 0, sub 0, group 3), applies the face (0x4785b0), and marks a full rebuild with every group dirty.
The derivation is in the doc.
Callers 3
- CycleCreateCustomization glue
- RandomizeCreateCustomizations glue
- InitCharacterComponent charactermodel
Callees 7
- DebugPrintStub unassigned
- HasCustomizationRow charactermodel
- ApplyBodySkin charactermodel
- MakeSectionCell charactermodel
- SetCharacterFace charactermodel
- TextureCacheGet gx
- TextureCacheRelease gx
Calls and jumps by a bare address, from tables/calls.tsv.