The nexuslua function addoffset adds an offset to a Lua variable of type light user data. It accepts 3 parameters:
Therefore, the resulting memory address will be the product of the latter two values. For an example see poke.