benilla-re systems structs docs

s_bonusBarOffset

global · unassigned

Address
0xbc6e88 · 4 bytes, up to 0xbc6e8b
Type
uint32_t
Meaning
Holds the bonus bar offset of the player's form; 0 at load and with no form record
Confidence
verified, proof one
Finding
ui/actionuse#bonus-bar-offset

Finding: Bonus bar offset in ui: placing, picking up and using actions

GetBonusBarOffset (0x4e7620) pushes the number in 0xbc6e88. 0x4e4fc0 sets it: 0, then the SpellShapeshiftForm record of the player's form byte ([unit+0x110]+0x212), if the form is within the table and the record exists, gives its second field (+4); then it signals UPDATE_BONUS_ACTIONBAR (217). The mapping from form to bar is data in the record; the client does not compute it. A form change (0x5de010) and world entry (0x4e4f90) run it.

The derivation is in the doc.