CGPlayer_C::AttachWeaponEnchant
function · objectlayer · primitive
- Address
0x5eedc0· 150 bytes, up to0x5eee55- Meaning
- Picks the attachment point for a hand's weapon by sheathe state and attaches its enchant visual
- Confidence
- verified, proof one
- Finding
- objectlayer/inventory#visible-equipment
Finding: Visible equipment in objectlayer: inventory
A visible-item change (playerfields) calls 0x4fca20(0), 0x4f60c0 and 0x4c7ee0; for the
active player it calls 0x4e5c70 on the old and new entries and signals UNIT_ATTACK for the
hands or UNIT_RANGED_ATTACK_POWER for the ranged slot. It then detaches the old display from the
model and applies the new. 0x5ed700(record, slot) applies a display: the weapon slots 15 to 17
attach to the hands; the head and back are skipped while PLAYER_FLAGS hides them; the tabard
goes through 0x5e0720; the rest go to the character component. The non-hand slots apply only
while the display is the native one. A record not yet cached counts in +0x1d20 until it arrives.
The derivation is in the doc.
Callers 1
- RefreshItemEnchantmentVisual objectlayer
Callees 3
- GetSheathAttachment charactermodel
- CGPlayer_C::AttachEnchantVisual objectlayer
- GetItemDescInventoryType objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.