benilla-re systems structs docs

s_reticlePosition

global · ui

Address
0xb4b3a0 · 12 bytes, up to 0xb4b3ab
Type
float[3]
Meaning
Holds the picked ground position the reticle is drawn at
Confidence
verified, proof one
Finding
ui/groundreticle#the-reticle-state

Finding: The reticle state in ui: the ground-target reticle

The state word 0x83dc2c says which reticle picture is drawn: 0 in range, 1 out of range, 3 none. The hover pass of the world frame stores 3 before every pick, so a pick that finds nothing under the pointer, or a frame that is not targeting a location, leaves nothing drawn. 0x4820f0 is the only code that stores 0 or 1: it runs when the pick is a ground position while a location is wanted, tests the position against the spell's range and stores 0 with the cast cursor or 1 with the unable-to-cast cursor. The position goes to 0xb4b3a0; the radius to 0xb4b3b0: the cast radius kept to 20 in range, 0 out of range.

The derivation is in the doc.