CScriptRegion::SetName
function · ui · orchestration
- Address
0x76c650· 132 bytes, up to0x76c6d3- Meaning
- Stores the expanded name and makes it a Lua global for the region's table when unset
- Confidence
- verified, proof two
- Finding
- ui/frames#names-and-lookup-by-name
Finding: Names and lookup by name in ui: the frame object model
Naming a frame replaces $parent at the start of the name with the name of the nearest named
ancestor, or with Top when none is named, stores a copy at +0x98 and makes the name a Lua global
for the frame's table unless that global is already set. Looking a frame up by name applies the same
substitution, reads the global, and accepts it only when it is a table whose element 0 is the object
and the object passes the type test.
The derivation is in the doc.
Callers 5
- CSimpleFrame::PreLoadXML ui
- CSimpleTexture::PreLoadXML ui
- ReadRegionNameAttribute ui
- Frame::CreateTexture ui
- Frame::CreateFontString ui
Callees 5
- SMemFree storm
- SStrDupA storm
- SErrSetLastError storm
- LockScriptObject ui
- CScriptRegion::ExpandName ui
Calls and jumps by a bare address, from tables/calls.tsv.