benilla-re systems structs docs

Script::GetBonusBarOffset

function · ui · orchestration

Address
0x4e7620 · 44 bytes, up to 0x4e764b
Signature
int __fastcall (lua_State *L)
Meaning
Returns the bonus bar offset
Confidence
verified, proof one
Name from
the community database (idb)
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 0

None by a direct call or jump.

Callees 1

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