summaryrefslogtreecommitdiff
path: root/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp
diff options
context:
space:
mode:
authorboris <wzn@moneybot.cc>2019-01-01 20:53:10 +1300
committerboris <wzn@moneybot.cc>2019-01-01 20:53:10 +1300
commit00b271f265450850336c8bcfdacc8671dbc8406a (patch)
tree975b2257495295c077320955c33fd2744c0e00ca /csgo-loader/csgo-client/Security/RuntimeSecurity.hpp
parent7a3b48831bfc9c4aa8c39c1e42d5bf5dd73e43c5 (diff)
yah
Diffstat (limited to 'csgo-loader/csgo-client/Security/RuntimeSecurity.hpp')
-rw-r--r--csgo-loader/csgo-client/Security/RuntimeSecurity.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp b/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp
index 9fe5c51..08e6490 100644
--- a/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp
+++ b/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp
@@ -20,7 +20,7 @@
// Required for the SDK from VMP which offers
// virtual machines and string encryption, as
// well as debug/VM checks.
-
+#include <VMProtectSDK.h>
// Required for MinHook.
#include <MinHook.h>
@@ -35,10 +35,14 @@
// Sick macros, retard.
#define WRAP_IF_RELEASE( s )
#define WRAP_IF_DEBUG( s ) { s; }
+
+ #define STR( s ) s
#else
// Sick macros, retard.
#define WRAP_IF_RELEASE( s ) { s; }
#define WRAP_IF_DEBUG( s )
+
+ #define STR( s ) VMProtectDecryptStringA( s )
#endif
namespace Security