FrameScriptDestroy
function · ui · orchestration
- Address
0x703ba0· 22 bytes, up to0x703bb5- Meaning
- Destroys the Lua state and stores 0 in 0xceef74
- Confidence
- verified, proof two
- Finding
- ui/luastate#opening-and-replacing-the-state
Finding: Opening and replacing the state in ui: the Lua state, its library and C functions
0x7039e0 creates a state, stores it in 0xceef74 and sets it up (next entry). 0x703b80 replaces
it: when a state exists, it closes it through 0x703ba0, which destroys it and stores 0, and then
opens a new one. The client opens the state once at start-up and replaces it when the game interface
is built, when the game shuts down, and when the glue is built with a nonzero argument; it closes it
without a replacement at exit. Every global is lost at each replacement, so a logout to the
character screen runs on a state opened twice in a row.
The derivation is in the doc.
Callers 2
- DestroyClientSystems client
- ResetFrameScript ui
Callees 1
- lua_close lua
Calls and jumps by a bare address, from tables/calls.tsv.