diff options
| author | navewindre <nw@moneybot.cc> | 2024-07-12 05:40:41 +0200 |
|---|---|---|
| committer | navewindre <nw@moneybot.cc> | 2024-07-12 05:40:41 +0200 |
| commit | 28f41cf689def99fb586bfca47b7e1786227a5a2 (patch) | |
| tree | 4a843c7785035ca548625ccf988ac924b8815f85 /src/cs2/hack.cpp | |
| parent | 2ebf959ec02048c15323e1bbfc63faedcf5067b6 (diff) | |
base shit
Diffstat (limited to 'src/cs2/hack.cpp')
| -rw-r--r-- | src/cs2/hack.cpp | 22 |
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 |
