benilla-re systems structs docs

UpdateGroundReticle

function · ui · orchestration

Address
0x4820f0 · 264 bytes, up to 0x4821f7
Meaning
Stores the picked ground position, the reticle state and radius, and the targeting cursor
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.

Callers 1

Callees 11

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