benilla-re systems structs docs

ScriptGcInfo

function · ui · primitive

Address
0x703200 · 67 bytes, up to 0x703242
Signature
int __fastcall (lua_State *L)
Meaning
Serves gcinfo: pushes the collector's two counters shifted right by 10
Confidence
verified, proof two
Finding
ui/luabase#the-collector-pair

Finding: The collector pair in ui: the Lua base library

gcinfo() returns two numbers: the word at +0x28 of the state's global record shifted right by 10, then the one at +0x24 shifted right by 10. collectgarbage([limit]) passes __ftol of the optional number (default 0) to lua_setgcthreshold and returns nothing.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 3

Calls and jumps by a bare address, from tables/calls.tsv.