Added README.txt to release zip

This commit is contained in:
acidicoala
2025-09-01 00:16:22 +05:00
parent c376b793c1
commit 8ec9b4e374
3 changed files with 9 additions and 0 deletions

View File

@@ -54,6 +54,11 @@ namespace {
if(kb::str::eq(library_name, STEAMCLIENT_DLL)) {
KB_HOOK_DETOUR_MODULE(CreateInterface, module_handle);
} else if(kb::str::eq(library_name, STEAMAPI_DLL)) {
// TODO: SteamAPI_Init will be too small to hook on x64.
// Ideally, we should inspect the address it jumps to and hook that instead.
// Moreover, SteamAPI_InitSafe calls the same address,
// so it could be used as a sanity check
KB_HOOK_DETOUR_MODULE(SteamAPI_Init, module_handle);
KB_HOOK_DETOUR_MODULE(SteamAPI_InitSafe, module_handle);
KB_HOOK_DETOUR_MODULE(SteamAPI_InitFlat, module_handle);