benilla-re systems structs docs

s_actionUsable

global · unassigned

Address
0xbc6b60 · 480 bytes, up to 0xbc6d3f
Type
uint32_t[120]
Meaning
Holds each slot's cached usable flag
Confidence
verified, proof one
Finding
ui/actionbar#usable-and-no-power

Finding: Usable and no power in ui: action bars

0x4e5050(slot, &noPower) computes a slot's usable flag; noPower starts 0. With no active player the answer is 0. An item word whose count (0xbc6390) is 0, or for which 0x6e2fc0 finds a held cooldown record, answers 0. The slot's spell then decides: a spell, or an item's on-use spell, runs 0x6e3d60 (spell/checks#usability-predicate) with noPower; a negative id, an id past the table or a null record answers 0. A pet-book spell answers 0 unless 0x4bcf70 holds, then compares the cost 0x6e31b0 with the pet's power (health for type -2): affordable is 1, else noPower 1 and 0. IsUsableAction returns the cached pair as 1 or nil, then 1 or nil.

The derivation is in the doc.