benilla-re systems structs docs

AttachKitEffect

function · glue · orchestration

Address
0x472780 · 100 bytes, up to 0x4727e3
Signature
void __fastcall (void *model, int32_t effect, uint32_t attachment)
Meaning
Loads a SpellVisualEffectName row's model through 0x707350 and passes it with an attachment id to 0x712f70
Confidence
verified, proof one
Finding
glue/selectghost#ghost-kit

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

Callees 5

Calls and jumps by a bare address, from tables/calls.tsv.