Registering Lua Functions
Posted: Thu Mar 10, 2022 1:41 am
Looks like lua state pointer is at
+ 4BC + 4
You can then register any lua functions you want and use them in addons or use any of their lua api in your own applications as seen below, just thought was neat.

Code: Select all
namespace Offsets
{
inline auto game_base = RVA(0x609B84); //8B 0D ? ? ? ? 8B 96 ? ? ? ? 50 FF D2 8B 0D ? ? ? ? 6A FF
}
You can then register any lua functions you want and use them in addons or use any of their lua api in your own applications as seen below, just thought was neat.
