FrameScriptInitialize
function · ui · orchestration
- Address
0x7039e0· 338 bytes, up to0x703b31- Meaning
- Creates the Lua state in 0xceef74 and installs the metatable, handlers, libraries and compat.lua
- Confidence
- verified, proof two
- Finding
- ui/luastate#what-a-new-state-holds
Finding: What a new state holds in ui: the Lua state, its library and C functions
Opening sets the collection threshold to 256 KB and then, in order: the global
__framescript_meta, a table whose __index is 0x7020b0; the registry reference of the error
handler 0x703b40 in 0x8722c8, with −1 in 0x8722cc; a reference to a light userdata of 1 in
0x8722d4; the 36 base functions as globals; the string, table, math and bit libraries;
and the chunk compat.lua, run from the text 0x8722d8 points at, which sets the Lua 4 names
(getn, tinsert, strfind, format, mod, degree-based sin and the like).
The derivation is in the doc.
Callers 2
- WowClientInit client
- ResetFrameScript ui
Callees 13
- lua_pushstring lua
- lua_pushcclosure lua
- lua_pushlightuserdata lua
- lua_newtable lua
- lua_settable lua
- lua_setgcthreshold lua
- luaL_ref lua
- lua_open lua
- FrameScriptExecuteString ui
- luaopen_bit lua
- luaopen_math lua
- luaopen_table lua
- luaopen_string lua
Calls and jumps by a bare address, from tables/calls.tsv.