From d1ec3d3bb3a87a08e1c9348ca6e482549ebde664 Mon Sep 17 00:00:00 2001 From: boris Date: Wed, 2 Jan 2019 17:46:05 +1300 Subject: fixed bug and idk i really dont wanna work on this anymore holy fuck --- csgo-loader/csgo-client/Security/SyscallManager.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'csgo-loader/csgo-client/Security/SyscallManager.cpp') 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; -- cgit v1.2.3