#pragma once #include #include #include #include #include "../shithook.h" #define HWID_VALUE "what do you call nuts on your chin? a dick down your throat you fucking retard!" #define LOGI(...) ((void)__android_log_print(ANDROID_LOG_INFO, "ligma", __VA_ARGS__)) #define offset_emulator_check 0x000D7B4 #define offset_ischeat_packet 0x00128E0 #define offset_mshook_function 0x0010358 namespace ligma { namespace bypass { inline void* fopen_ptr = nullptr; inline void* system_prop_get = nullptr; inline std::mutex fopen_mutex; // every shithook you make you will need a mutex. inline std::mutex system_prop_mutex; void init(); signed int emulator_check(const char* a1, const char* a2); FILE* fopen_hook(const char* path, const char* mode); int tss_sdk_ischeatpacket(int a1); int system_property_hook(const char* name, char* value); void ms_hook_function(int* a1, int a2, int* a3); } }