I want to push a new table on the lua stack as return value for a custom function I register in WoW. However, since the Info dump thread didn't mention lua_createtable which is needed for this purpose, I tried to find it myself but failed epically.
My attempt was to create a new project which only included the sample LUA project, and to insert debug strings inside of the lua_createtable function to find it later via OllyDbg => Search for... => All referenced strings.
Afterwards, I've noticed that the functions which were already found by the MMOwned community lie all in some address range. I've looked through every function in that range manually but couldn't find a similar one than the one from the sample project.
I know that my reversing skills are not really what they should be (everyone has to start once) but I'ld like to know what the correct approach is to find such a function.
Problem is that you cannot make WoW call lua_createtable using the lua-interpreter since lua_createtable is part of the c-api and is therefore only called by C-/C++-functions.
Anybody some hints?