benilla-re systems structs docs

s_reticleState

global · ui

Address
0x83dc2c · 4 bytes, up to 0x83dc2f
Type
uint32_t
Meaning
Holds which ground target decal is drawn, 0 acceptable, 1 unacceptable, 3 none
Confidence
verified, proof one
Finding
ui/mouse#enter-and-leave

Finding: Enter and leave in ui: which frames take the mouse

The base enter 0x76b6a0 shows the frame's highlight texture, sets a flag when the frame has none, and fires the OnEnter script (+0x140). The base leave 0x76b6f0(arg) hides the highlight, clears the flag, clears the drag arm words +0x100 and +0x104 when arg is nonzero, and fires OnLeave (+0x148). The scripts get no arguments. A hover pick runs the old frame's leave with 0 and then the new frame's enter; the removal tail runs the leave with 1. The world frame's leave publishes a null mouseover when it holds one, shows the base cursor and resets the reticle state; a nameplate's enter and leave publish and clear its unit as the mouseover; the minimap's leave hides the game tooltip first.

The derivation is in the doc.