benilla-re systems structs docs

UpdateBonusActionBar

function · ui · orchestration

Address
0x4e4fc0 · 98 bytes, up to 0x4e5021
Signature
void __cdecl ()
Meaning
Sets the bonus bar offset from the player's form record and signals UPDATE_BONUS_ACTIONBAR
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.

Callers 2

Callees 3

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