FrameScriptCollectGarbage
function · ui · orchestration
- Address
0x703bc0· 42 bytes, up to0x703be9- Meaning
- Forces a full collection with the collector switch on, leaving it on when its argument is nonzero
- Confidence
- verified, proof two
- Finding
- ui/luastate#the-collector-switch
Finding: The collector switch in ui: the Lua state, its library and C functions
The client adds a switch to the garbage collector: the automatic collection returns at once while
the state's word +0x60 is 0. A new state sets it to 1. 0x703bc0(keep) sets it, forces a full
collection by setting the threshold to 0, and clears it unless keep is nonzero; both callers pass
1, so the switch stays on.
The derivation is in the doc.
Callers 2
- EnterWorldUI ui
- CGGameUI::Update ui
Callees 4
- lua_enablegc lua
- lua_disablegc lua
- lua_setgcthreshold lua
- FrameScript::GetContext ui
Calls and jumps by a bare address, from tables/calls.tsv.