benilla-re systems structs docs

s_unequipSlotArms

global · charactermodel

Address
0x478c98 · 19 bytes, up to 0x478caa
Type
const uint8_t[19]
Meaning
Maps an equipment slot to an arm of the unequip jump table
Confidence
verified, proof one
Finding
charactermodel/equipment#entry-points

Finding: Entry points in charactermodel: equipment

Four callers set or clear a slot. 0x479010(inventory type, display id) clears the type's slot, then, for a positive id, sets it: an armor, cloak or tabard type goes to 0x478aa0, a weapon type to a held-item loader. 0x478cb0(equipment slot, id) and 0x478bd0(equipment slot) set and clear by equipment slot; weapons, rings, trinkets and the neck have no body slot there. 0x478aa0(body slot, id) looks up the display record and calls 0x478ad0(body slot, record), which stores it, marks +0x0a and fills the cells. 0x478960(body slot) clears.

equipment slotbody slot
0 head0
2 shoulders1
3 shirt2
4 chest3
5 waist4
6 legs5
7 feet6
8 wrists7
9 hands8
18 tabard9
14 back10
quiver (record only)11

The derivation is in the doc.