Potential fix for WMSB (#2707)

This commit is contained in:
Anvar 2024-02-12 09:08:38 -05:00 committed by GitHub
parent c87aea7f3c
commit 1a0fbd3dea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ namespace big
// Patch World Model Spawn Bypass
world_model_bypass::m_world_model_spawn_bypass =
memory::byte_patch::make(g_pointers->m_gta.m_world_model_spawn_bypass.as<PVOID*>(), 0).get();
memory::byte_patch::make(g_pointers->m_gta.m_world_model_spawn_bypass.add(3).rip().as<PVOID*>(), 0).get();
// Patch blocked explosions
explosion_anti_cheat_bypass::m_can_blame_others =

View File

@ -1511,7 +1511,7 @@ namespace big
// World Model Spawn Bypass
{
"WMSB",
"48 85 C0 0F 84 ? ? ? ? 8B 48 50",
"48 85 C0 0F 84 ? ? ? ? 8B 48 ? C1 E9 ? F6 C1 ? 0F 84 ? ? ? ? 45 84 E4",
[](memory::handle ptr)
{
g_pointers->m_gta.m_world_model_spawn_bypass = ptr;