benilla-re systems structs docs

GetActionSlotInRange

function · ui · primitive

Address
0x4e56f0 · 212 bytes, up to 0x4e57c3
Signature
bool __fastcall (uint32_t slot, uint32_t *inRange)
Meaning
Computes a slot's range answer through the range pre-check 0x6e4440
Confidence
verified, proof one
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.

Callers 1

Callees 4

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