summaryrefslogtreecommitdiff
path: root/src/cs2/hack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cs2/hack.cpp')
-rw-r--r--src/cs2/hack.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/cs2/hack.cpp b/src/cs2/hack.cpp
new file mode 100644
index 0000000..b5f0242
--- /dev/null
+++ b/src/cs2/hack.cpp
@@ -0,0 +1,22 @@
+#include "hack.h"
+#include "iface.h"
+
+SETTING_HOLDER gcfg;
+
+#include "cs2.h"
+
+PROCESS64* hack_init() {
+ CS2* p = new CS2();
+ if( !p->open() ) {
+ delete p;
+ return nullptr;
+ }
+
+ VECTOR<IFACE_ENTRY> entries = iface_get_all( p );
+
+ return p;
+}
+
+bool hack_run( PROCESS64* p ) {
+ return true;
+} \ No newline at end of file