MakeSectionCell
function · charactermodel · orchestration
- Address
0x4782e0· 258 bytes, up to0x4783e1- Signature
void __thiscall (void *this, int32_t section, uint32_t sub, int32_t record, int32_t colour, uint32_t group)- Meaning
- Loads one texture name of a CharSections row into a skin cell and marks its group dirty
- Confidence
- verified, proof one
- Finding
- charactermodel/customization#section-cell
- Test
charactermodel::cm_fanout_g_region_layer_slot_off,charactermodel::cm_fanout_g_region_layer_dirty_mask
Finding: Section cell in charactermodel: customization
0x4782e0(section, sub, record, colour, group) makes the cell for one texture name of a CharSections row: the skin row of the component's race and sex, section and record variation, colour. The cell is +0x188 + 4·(sub + 8·section). It
releases the old cell, and when the lookup passes and the row's name sub (+0x18 + 4·sub) is not empty, loads the name as kind 5 for section 0 and kind 9 for the others. The group bit is set in +0x10 whenever the lookup
passes, for an empty name or a failed load too.
The derivation is in the doc.
Callers 5
- SetCharacterHairColor charactermodel
- SetCharacterHairStyle charactermodel
- SetCharacterFace charactermodel
- SetCharacterFacialHair charactermodel
- SetCharacterSkinColor charactermodel
Callees 4
- DebugPrintStub unassigned
- HasCustomizationRow charactermodel
- TextureCacheGet gx
- TextureCacheRelease gx
Calls and jumps by a bare address, from tables/calls.tsv.