benilla-re systems structs docs

CSimpleFrame::GetScriptByName

function · ui · orchestration

Address
0x76a0d0 · 544 bytes, up to 0x76a2ef
Meaning
Returns the script slot of a handler name, OnEvent included, or 0
Confidence
verified, proof two
Finding
ui/frames#script-slots-by-name

Finding: Script slots by name in ui: the frame object model

A frame's script slots are found by handler name, ignoring case. OnEvent belongs to the script object at +0xc; the frame adds sixteen at +0x118 + 8·i in the order OnLoad, OnSizeChanged, OnUpdate, OnShow, OnHide, OnEnter, OnLeave, OnMouseDown, OnMouseUp, OnMouseWheel, OnDragStart, OnDragStop, OnReceiveDrag, OnChar, OnKeyDown, OnKeyUp. An unknown name has no slot.

The derivation is in the doc.

Callers 10

Callees 2

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