s_cycleCustomizationCases
global · glue
- Address
0x47106c· 20 bytes, up to0x47107f- Type
void *[5]- Meaning
- Holds the five case addresses of the customization cycle 0x470f80, skin to facial hair
- Confidence
- verified, proof one
- Finding
- glue/create#cycling-a-customization
Finding: Cycling a customization in glue: character create
CycleCharCustomization(index, delta) moves customization index by delta. A delta of 0 or
an index outside 1 to 5 does nothing. The current value plus the delta, as a signed 32-bit sum,
becomes count − 1 when negative, then 0 when at or above the count, and goes to the setter.
Hair colour counts the current style's colours.
| index | field | count | setter |
|---|---|---|---|
| 1 skin | +0x24 | 0x47a440 | 0x478790(v, 1) |
| 2 face | +0x2c | 0x47a4a0 | 0x4785b0(v, 1) |
| 3 hair style | +0x34 | 0x47a3e0 | 0x4784c0(v) |
| 4 hair colour | +0x20 | 0x47a400 | 0x4783f0(v, 1) |
| 5 facial hair | +0x30 | 0x47a4c0 | 0x478660(v, 1) |
The derivation is in the doc.