Initial commit, hook into StarWarsI.exe

This commit is contained in:
2026-02-27 21:53:08 -06:00
parent f4c90a15cd
commit cb9c3879ce
14 changed files with 690 additions and 1 deletions

13
lua_hook.h Normal file
View File

@@ -0,0 +1,13 @@
#pragma once
#include <cstdint>
constexpr uintptr_t RVA_lua_open = 0x12AB790;
constexpr uintptr_t RVA_lua_pushstring = 0x12AC930;
constexpr uintptr_t RVA_lua_pushcclosure = 0x12AC6E0;
constexpr uintptr_t RVA_lua_settable = 0x12AD020;
constexpr uintptr_t RVA_lua_tostring = 0x12AD430;
constexpr int LUA_GLOBALSINDEX = -10001;
bool LuaHook_Init();
void LuaHook_Shutdown();