ApplyCharSelectGhostKit
function · glue · primitive
- Address
0x4727f0· 351 bytes, up to0x47294e- Signature
void __thiscall (void *this)- Meaning
- Applies SpellVisualKit row 989's effect models, tint and alpha to the select character's model
- Confidence
- verified, proof one
- Finding
- glue/selectghost#ghost-kit
- Test
glue::char_customize_clamp_difftest,glue::char_customize_color_difftest
Finding: Ghost kit in glue: the select ghost look
A ghost body is dressed from SpellVisualKit row 989: of nine offered attachment ids only id
0x13, from column +0x14 holding effect 717, is filled; the other eight columns are −1 and
0x472780 rejects them. Effect 717 is the model Spells\Ghost_state.mdx. The kit's four (kind,
value) pairs give kind 1, value 0x4b0cb9fd: a tint of (140, 185, 253) over 255; and kind 14, value
0.5: an alpha of 0.5. Both are plain stores on the body (+0x184 to +0x18c, +0x180), applied
at once.
The derivation is in the doc.
Callers 1
- BuildCharSelectModel glue
Callees 4
- __ftol crt
- AttachKitEffect glue
- CM2Model::SetAlpha models
- CM2Model::SetDiffuseColor models
Calls and jumps by a bare address, from tables/calls.tsv.