ResetFrameScript
function · ui · orchestration
- Address
0x703b80· 20 bytes, up to0x703b93- Meaning
- Closes the Lua state when one exists and tail-jumps to 0x7039e0 to open a new one
- 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 3
Callees 2
Calls and jumps by a bare address, from tables/calls.tsv.