FrameScriptExecuteVarArgs
function · ui · orchestration
- Address
0x7026f0· 29 bytes, up to0x70270c- Meaning
- Runs a script slot with a format and its variable arguments
- Confidence
- verified, proof two
- Finding
- ui/script#running-a-handler
Finding: Running a handler in ui: the script layer and events
A script slot is a registry reference to a compiled function and an execution-context word. Running
a slot sets the current context 0xceeac0 to the slot's word while a nesting count is above 0,
calls the function and restores the context. The runner saves the global this, makes it the
object's table, calls the function protected under the error handler, and restores this. The
argument runner first reads a format: each %d, %u, %f or %s, at most 19, becomes the
global arg1, arg2 and so on, each saved before and restored after the call.
The derivation is in the doc.
Callers 25
- CGTooltip::BuildItem ui
- CSimpleFrame::OnFrameUpdate ui
- CSimpleFrame::OnSizeChanged ui
- CSimpleFrame::OnChar ui
- CSimpleFrame::OnKeyDown ui
- CSimpleFrame::OnKeyUp ui
- CSimpleFrame::OnMouseDown ui
- CSimpleFrame::OnMouseUp ui
- CSimpleFrame::OnMouseWheel ui
- CSimpleFrame::OnDragStart ui
- CSimpleButton::RunClick ui
- CSimpleButton::RunDoubleClick ui
- CSimpleEditBox::UpdateInputLanguage ui
- CSimpleEditBox::Insert ui
- CSimpleEditBox::PlaceCaret ui
- CSimpleStatusBar::SetValue ui
- CSimpleScrollFrame::SetHorizontalScroll ui
- CSimpleScrollFrame::SetVerticalScroll ui
- CSimpleScrollFrame::MeasureScrollRange ui
- CSimpleSlider::SetValue ui
- CSimpleColorSelect::Redraw ui
- AdvanceMovie ui
- CSimpleHyperlinkedFrame::FireOnHyperlinkEnter ui
- CSimpleHyperlinkedFrame::FireOnHyperlinkLeave ui
- CSimpleHyperlinkedFrame::FireOnHyperlinkClick ui
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.