diff options
| author | boris <wzn@moneybot.cc> | 2018-12-24 20:39:09 +1300 |
|---|---|---|
| committer | boris <wzn@moneybot.cc> | 2018-12-24 20:39:09 +1300 |
| commit | ace9ae2117175dfe5e14b259db2e0536f8ec7a8a (patch) | |
| tree | e657af71b250546fb3e135fdadb1cd31f1a07671 /csgo-loader/csgo-client/Security | |
| parent | 8a6e64f020047709f53ddd35797c511a5d3239fe (diff) | |
fffffffff
Diffstat (limited to 'csgo-loader/csgo-client/Security')
| -rw-r--r-- | csgo-loader/csgo-client/Security/SyscallManager.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/csgo-loader/csgo-client/Security/SyscallManager.hpp b/csgo-loader/csgo-client/Security/SyscallManager.hpp index a9c67aa..5e33821 100644 --- a/csgo-loader/csgo-client/Security/SyscallManager.hpp +++ b/csgo-loader/csgo-client/Security/SyscallManager.hpp @@ -9,6 +9,8 @@ #include <vector>
#include <iterator>
+#include <UserExperience/UserInterface.hpp>
+
using ByteArray = std::vector<uint8_t>;
namespace Wrapper
@@ -60,6 +62,11 @@ namespace Wrapper template < typename T >
T Find(uint64_t Hash)
{
+ uint64_t Syscall = m_Syscalls[Hash].Get();
+
+ if(!Syscall)
+ ERROR_ASSERT("[000F:00001B00] Internal software error. Please contact an administrator.");
+
return (T)m_Syscalls[Hash].Get();
}
};
|
