mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2026-10-10 11:53:07 +08:00
refactor: move Request Model logic to helper function (#2669)
This commit is contained in:
+10
-10
@@ -1,8 +1,8 @@
|
||||
#include "pointers.hpp"
|
||||
|
||||
#include "gta_pointers_layout_info.hpp"
|
||||
#include "sc_pointers_layout_info.hpp"
|
||||
#include "memory/all.hpp"
|
||||
#include "sc_pointers_layout_info.hpp"
|
||||
|
||||
namespace big
|
||||
{
|
||||
@@ -159,15 +159,6 @@ namespace big
|
||||
g_pointers->m_gta.m_swapchain = ptr.add(3).rip().as<IDXGISwapChain**>();
|
||||
}
|
||||
},
|
||||
// World Model Spawn Bypass
|
||||
{
|
||||
"WMSB",
|
||||
"48 85 C0 0F 84 ? ? ? ? 8B 48 50",
|
||||
[](memory::handle ptr)
|
||||
{
|
||||
g_pointers->m_gta.m_world_model_spawn_bypass = ptr.as<PVOID>();
|
||||
}
|
||||
},
|
||||
// Native Return Spoofer
|
||||
{
|
||||
"NRF",
|
||||
@@ -1517,6 +1508,15 @@ namespace big
|
||||
g_pointers->m_gta.m_max_wanted_level = ptr;
|
||||
}
|
||||
},
|
||||
// World Model Spawn Bypass
|
||||
{
|
||||
"WMSB",
|
||||
"48 85 C0 0F 84 ? ? ? ? 8B 48 50",
|
||||
[](memory::handle ptr)
|
||||
{
|
||||
g_pointers->m_gta.m_world_model_spawn_bypass = ptr;
|
||||
}
|
||||
},
|
||||
// Blame Explode
|
||||
{
|
||||
"BE",
|
||||
|
||||
Reference in New Issue
Block a user