summaryrefslogtreecommitdiff
path: root/src/cs2/hack.cpp
diff options
context:
space:
mode:
authornavewindre <nw@moneybot.cc>2024-07-12 05:40:41 +0200
committernavewindre <nw@moneybot.cc>2024-07-12 05:40:41 +0200
commit28f41cf689def99fb586bfca47b7e1786227a5a2 (patch)
tree4a843c7785035ca548625ccf988ac924b8815f85 /src/cs2/hack.cpp
parent2ebf959ec02048c15323e1bbfc63faedcf5067b6 (diff)
base shit
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