Remove unused code
This commit is contained in:
parent
f4a534db04
commit
8c1e212af3
@ -14,12 +14,6 @@ namespace
|
|||||||
exit(code);
|
exit(code);
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID WINAPI initialize_critical_section(const LPCRITICAL_SECTION critical_section)
|
|
||||||
{
|
|
||||||
component_loader::post_unpack();
|
|
||||||
InitializeCriticalSection(critical_section);
|
|
||||||
}
|
|
||||||
|
|
||||||
void patch_imports()
|
void patch_imports()
|
||||||
{
|
{
|
||||||
const utils::nt::library game{};
|
const utils::nt::library game{};
|
||||||
@ -58,7 +52,6 @@ namespace
|
|||||||
patch_steam_import("SteamAPI_Init");
|
patch_steam_import("SteamAPI_Init");
|
||||||
patch_steam_import("SteamAPI_RestartAppIfNecessary");
|
patch_steam_import("SteamAPI_RestartAppIfNecessary");
|
||||||
|
|
||||||
//utils::hook::set(game.get_iat_entry("kernel32.dll", "InitializeCriticalSection"), initialize_critical_section);
|
|
||||||
utils::hook::set(game.get_iat_entry("kernel32.dll", "ExitProcess"), exit_hook);
|
utils::hook::set(game.get_iat_entry("kernel32.dll", "ExitProcess"), exit_hook);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user