DrawCreateCustomizations
function · glue · orchestration
- Address
0x4703c0· 106 bytes, up to0x470429- Signature
void __thiscall (void *this)- Meaning
- Draws skin, hair style, hair colour, facial hair and face for a create record's race and sex, in that order
- Confidence
- verified, proof one
- Finding
- glue/create#five-customization-draws
Finding: Five customization draws in glue: character create
A random appearance is five draws in [0, count) for the race and sex, in this order: skin (0x47a440), hair style (0x47a3e0), hair colour (0x47a400, for the style
just drawn), facial hair (0x47a4c0), face (0x47a4a0). A random character first draws its
sex in [0, 2), then a race list index. The names are the create request's, as the server reads
it. The counts index a grid by 2·race + sex, so sex 2 reads the
next race's male counts.
The derivation is in the doc.
Callers 4
- DrawCreateRaceAndSex glue
- SelectCreateRace glue
- SelectCreateSex glue
- RandomizeCreateCustomizations glue
Callees 6
- DrawCreateRandom glue
- CountHairStyles charactermodel
- CountHairColors charactermodel
- CountSkinColors charactermodel
- CountFaces charactermodel
- CountFacialHairStyles charactermodel
Calls and jumps by a bare address, from tables/calls.tsv.