#pragma once #include #include #include #include #include "../ligma.h" #define HWID_VALUE "what do you call nuts on your chin? a dick down your throat you fucking retard!" #define offset_emulator_check 0x000D7B4 #define offset_ischeat_packet 0x00128E0 #define offset_mshook_function 0x0010358 #define offset_fopen_got 0x23ECC namespace ligma { namespace bypass { inline void* fopen_ptr = nullptr; inline void* system_prop_get = nullptr; inline void* loadbufferx = nullptr; inline std::mutex fopen_mutex; // every shithook you make you will need a mutex. inline std::mutex system_prop_mutex; inline std::mutex loadbufferx_mutex; void init(); FILE* fopen_hook(const char* path, const char* mode); int system_property_hook(const char* name, char* value); int loadbufferx_hook(void* L, const char* buff, size_t sz, const char* name, const char* mode); } }