ScriptIpairs
function · ui · primitive
- Address
0x702cd0· 198 bytes, up to0x702d95- Signature
int __fastcall (lua_State *L)- Meaning
- Serves ipairs: answers the iterator triple for one argument, else the next index and element
- Confidence
- verified, proof two
- Finding
- ui/luabase#iteration
Finding: Iteration in ui: the Lua base library
next(t [, key]) requires a table and answers the key and value after key, or nil. pairs(t) requires a table and
returns the global next, the table and nil. ipairs(t [, i]) called with one argument answers (ipairs, t, 0); with
an index it adds 1.0, pushes the new index and t[__ftol(index)], and returns both when the element is not nil, nothing
otherwise. unpack(t) requires a table, takes its length from 0x6f5050, raises table too big to unpack when the stack
cannot grow by that count and pushes t[1] to t[n].
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 9
- __ftol crt
- lua_pushvalue lua
- lua_type lua
- lua_tonumber lua
- lua_pushnumber lua
- lua_pushlstring lua
- lua_rawget lua
- lua_rawgeti lua
- luaL_checktype lua
Calls and jumps by a bare address, from tables/calls.tsv.