diff --git a/BigBaseV2/src/function_types.hpp b/BigBaseV2/src/function_types.hpp index 97ae852b..749a034c 100644 --- a/BigBaseV2/src/function_types.hpp +++ b/BigBaseV2/src/function_types.hpp @@ -41,5 +41,4 @@ namespace big::functions // Net Event Handlers using report_cash_spawn = bool(__int64 creport_cash_spawn_event, CNetGamePlayer* source_player); - using report_cheating = void(__int64 a1, unsigned int a2, unsigned int a3, unsigned int a4); } diff --git a/BigBaseV2/src/hooking.cpp b/BigBaseV2/src/hooking.cpp index d77b6c87..e7e0719e 100644 --- a/BigBaseV2/src/hooking.cpp +++ b/BigBaseV2/src/hooking.cpp @@ -58,8 +58,6 @@ namespace big // Report Cash Spawn Event m_report_cash_spawn_event_hook("RCSE", g_pointers->m_report_cash_spawn, &hooks::report_cash_spawn_handler), - // Report Cheating Hook - m_report_cheating_hook("RC", g_pointers->m_report_cheating, &hooks::report_cheating_handler), // Scripted Game Event Hook m_scripted_game_event_hook("SGEH", g_pointers->m_scripted_game_event, &hooks::scripted_game_event) @@ -97,7 +95,6 @@ namespace big m_received_event_hook.enable(); m_report_cash_spawn_event_hook.enable(); - m_report_cheating_hook.enable(); m_scripted_game_event_hook.enable(); @@ -110,7 +107,6 @@ namespace big m_scripted_game_event_hook.disable(); - m_report_cheating_hook.disable(); m_report_cash_spawn_event_hook.disable(); m_received_event_hook.disable(); diff --git a/BigBaseV2/src/hooking.hpp b/BigBaseV2/src/hooking.hpp index 9cd2e29b..3519e131 100644 --- a/BigBaseV2/src/hooking.hpp +++ b/BigBaseV2/src/hooking.hpp @@ -42,7 +42,6 @@ namespace big ); static bool report_cash_spawn_handler(__int64 creport_cash_spawn_event, CNetGamePlayer* source_player); - static void report_cheating_handler(__int64 a1, unsigned int a2, unsigned int a3, unsigned int a4); static bool scripted_game_event(CScriptedGameEvent* scripted_game_event, CNetGamePlayer* player); }; @@ -84,7 +83,6 @@ namespace big detour_hook m_received_event_hook; detour_hook m_report_cash_spawn_event_hook; - detour_hook m_report_cheating_hook; detour_hook m_scripted_game_event_hook; }; diff --git a/BigBaseV2/src/hooks/report_cheating_handler.cpp b/BigBaseV2/src/hooks/report_cheating_handler.cpp deleted file mode 100644 index 76bedf1f..00000000 --- a/BigBaseV2/src/hooks/report_cheating_handler.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "hooking.hpp" -#include "util/notify.hpp" - -namespace big -{ - void hooks::report_cheating_handler(__int64 a1, unsigned int a2, unsigned int a3, unsigned int a4) - { - LOG(INFO) << "Caught game trying to report self."; - notify::above_map("Game tried to snitch."); - - return; - - //return g_hooking->m_report_cheating_hook.get_original()(a1, a2, a3, a4); - } -} \ No newline at end of file diff --git a/BigBaseV2/src/pointers.cpp b/BigBaseV2/src/pointers.cpp index 45d4ba62..044fe8a4 100644 --- a/BigBaseV2/src/pointers.cpp +++ b/BigBaseV2/src/pointers.cpp @@ -174,12 +174,6 @@ namespace big m_report_cash_spawn = ptr.as(); }); - // Report Myself Handler - main_batch.add("RMH", "E8 ? ? ? ? 41 8B 47 0C 39 43 20", [this](memory::handle ptr) - { - m_report_cheating = ptr.as(); - }); - // Scripted Game Event Handler main_batch.add("SGEH", "40 53 48 81 EC ? ? ? ? 44 8B 81 ? ? ? ? 4C 8B CA 41 8D 40 FF 3D ? ? ? ? 77 42", [this](memory::handle ptr) { diff --git a/BigBaseV2/src/pointers.hpp b/BigBaseV2/src/pointers.hpp index 732c54f1..e683bdd6 100644 --- a/BigBaseV2/src/pointers.hpp +++ b/BigBaseV2/src/pointers.hpp @@ -59,7 +59,6 @@ namespace big // Net Event Handlers functions::report_cash_spawn* m_report_cash_spawn{}; - functions::report_cheating* m_report_cheating{}; }; inline pointers *g_pointers{};