diff options
| author | boris <wzn@moneybot.cc> | 2019-01-02 17:46:05 +1300 |
|---|---|---|
| committer | boris <wzn@moneybot.cc> | 2019-01-02 17:46:05 +1300 |
| commit | d1ec3d3bb3a87a08e1c9348ca6e482549ebde664 (patch) | |
| tree | b1b4d86bdc9e9c83a02e2ad3258a61674421eb07 /csgo-loader/csgo-client/Security/SyscallManager.cpp | |
| parent | 16b4fd429ecaf259c4e2bd7307431f3c855812e8 (diff) | |
fixed bug and idk
i really dont wanna work on this anymore holy fuck
Diffstat (limited to 'csgo-loader/csgo-client/Security/SyscallManager.cpp')
| -rw-r--r-- | csgo-loader/csgo-client/Security/SyscallManager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/csgo-loader/csgo-client/Security/SyscallManager.cpp b/csgo-loader/csgo-client/Security/SyscallManager.cpp index 9bb1302..d6bace2 100644 --- a/csgo-loader/csgo-client/Security/SyscallManager.cpp +++ b/csgo-loader/csgo-client/Security/SyscallManager.cpp @@ -127,6 +127,8 @@ namespace Wrapper return false;
// Loop each exported symbol.
+ VMProtectBeginUltra("SyscallFind");
+
for(uint32_t n{}; n < ExportDirectory->NumberOfNames; ++n)
{
uint32_t NameRva = Names[n];
@@ -151,6 +153,8 @@ namespace Wrapper }
}
+ VMProtectEnd();
+
if(m_Syscalls.empty())
return false;
|
