Does the equivalent to t[n] = v, where t is the value at the given index and v is the value on the top of the stack.
t[n] = v
t
index
v
Lua Docs.
void setI(int index, int n) => lua.lua.lua_seti(pointer, index, n);