benilla-re systems structs docs

CSimpleFrame::OnLeave

function · ui · orchestration

Address
0x76b6f0 · 109 bytes, up to 0x76b75c
Meaning
Hides the +0xa4 frame, switches layer 4 off, may end a drag and runs OnLeave
Confidence
verified, proof one
Finding
ui/hover#entering-and-leaving

Finding: Entering and leaving in ui: Hover, leave notifies and the tooltip of a hidden frame

A frame's enter notify shows its companion frame (+0xa4), turns on its highlight texture and runs its OnEnter script; the leave notify does the same in reverse and runs OnLeave. The highlight changes only when the frame's +0xf8 is 0. A leave with argument 1, a removal, also zeroes the drag-arm pair at +0x100 and +0x104, so a pending drag start is cancelled; a leave on a move leaves it. The scripts run at once, inside the call that caused the notify, with no Lua arguments.

The derivation is in the doc.

Callers 3

Callees 2

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