mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-03 16:13:36 +08:00
chore: fewer sig scan (#993)
This commit is contained in:
parent
ac508dfd61
commit
773db6b967
@ -57,9 +57,10 @@ namespace big
|
||||
m_network_player_mgr = ptr.add(3).rip().as<CNetworkPlayerMgr**>();
|
||||
});
|
||||
|
||||
// Native Handlers
|
||||
// Init Native Tables & Native Handlers
|
||||
main_batch.add("NH", "48 8D 0D ? ? ? ? 48 8B 14 FA E8 ? ? ? ? 48 85 C0 75 0A", [this](memory::handle ptr)
|
||||
{
|
||||
m_init_native_tables = ptr.sub(37).as<PVOID>();
|
||||
m_native_registration_table = ptr.add(3).rip().as<rage::scrNativeRegistrationTable*>();
|
||||
m_get_native_handler = ptr.add(12).rip().as<functions::get_native_handler>();
|
||||
});
|
||||
@ -441,12 +442,6 @@ namespace big
|
||||
m_join_session_by_info = ptr.add(1).rip().as<functions::join_session_by_info>();
|
||||
});
|
||||
|
||||
// Init Native Tables
|
||||
main_batch.add("INT", "8B CB E8 ? ? ? ? 8B 43 70 ? 03 C4 A9 00 C0 FF FF", [this](memory::handle ptr)
|
||||
{
|
||||
m_init_native_tables = ptr.add(3).rip().as<PVOID>();
|
||||
});
|
||||
|
||||
// Script VM
|
||||
main_batch.add("VM", "E8 ? ? ? ? 48 85 FF 48 89 1D", [this](memory::handle ptr)
|
||||
{
|
||||
|
@ -190,7 +190,7 @@ namespace big
|
||||
functions::send_network_damage m_send_network_damage;
|
||||
functions::request_ragdoll m_request_ragdoll;
|
||||
functions::request_control m_request_control;
|
||||
|
||||
functions::clear_ped_tasks_network m_clear_ped_tasks_network;
|
||||
|
||||
functions::get_connection_peer m_get_connection_peer{};
|
||||
functions::send_remove_gamer_cmd m_send_remove_gamer_cmd{};
|
||||
@ -229,8 +229,6 @@ namespace big
|
||||
PVOID m_fragment_physics_crash;
|
||||
PVOID m_fragment_physics_crash_2;
|
||||
|
||||
functions::clear_ped_tasks_network m_clear_ped_tasks_network;
|
||||
|
||||
PVOID m_infinite_train_crash;
|
||||
functions::get_next_carriage m_get_next_carriage;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user