From ace9ae2117175dfe5e14b259db2e0536f8ec7a8a Mon Sep 17 00:00:00 2001 From: boris Date: Mon, 24 Dec 2018 20:39:09 +1300 Subject: fffffffff --- csgo-loader/csgo-client/Security/SyscallManager.hpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'csgo-loader/csgo-client/Security/SyscallManager.hpp') 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 #include +#include + using ByteArray = std::vector; 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(); } }; -- cgit v1.2.3