Improve protections and other random changes (#1803)

* feat(protections): better logging
* feat(protections): improve protections
* fix(globals): save all spoofing settings
This commit is contained in:
maybegreat48
2023-07-22 21:18:47 +00:00
committed by GitHub
parent e3d0deb605
commit a0f2b01540
29 changed files with 757 additions and 121 deletions
+3
View File
@@ -80,6 +80,9 @@ namespace big
// window hook: pt1
memory::byte_patch::make(g_pointers->m_gta.m_window_hook.as<void*>(), std::to_array({0xC3, 0x90, 0x90, 0x90}))->apply();
// Prevent the game from crashing when flooded with outgoing events
memory::byte_patch::make(g_pointers->m_gta.m_free_event_error, std::vector{0x90, 0x90, 0x90, 0x90, 0x90})->apply();
}
byte_patch_manager::byte_patch_manager()