benilla-re systems structs docs

s_cases4e56f0

global · ui

Address
0x4e57c4 · 8 bytes, up to 0x4e57cb
Type
void *[2]
Meaning
Holds the 2 case addresses of the switch in 0x4e56f0
Confidence
inferred
Finding
ui/actionbar#range

Finding: Range in ui: action bars

IsActionInRange (0x4e7550) pushes nil, 0 or 1 from 0x4e56f0. Nil: no player, a bad slot, a pet-book spell, a missing record, or an unlisted target type. 0: 0x6e4440 fails (spell/checks#range-pre-check, no report). 1: the first effect's implicit target is 6, 21, 23, 25, 26, 35, 45, 57 or 61 and a target is selected. ActionHasRange (0x4e75d0) is true when the spell's |min| or |max| range from 0x6e3480 is not below 2^-22 (0x8029d4, fcomp then test ah,5; jp at 0x4e5885), so a range equal to it, or a NaN, counts.

The derivation is in the doc.