mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2024-12-22 20:17:24 +08:00
Added pointers for 3095. (#2519)
This commit is contained in:
parent
d84407051c
commit
7409866738
@ -202,10 +202,10 @@ namespace big
|
||||
// Trigger Script Event
|
||||
{
|
||||
"TSE",
|
||||
"45 8B F0 41 8B F9 48 8B EA",
|
||||
"84 C9 0F 84 ? ? ? ? 48 89 5C 24 ? 48 89 74 24",
|
||||
[](memory::handle ptr)
|
||||
{
|
||||
g_pointers->m_gta.m_trigger_script_event = ptr.sub(0x1C).as<decltype(gta_pointers::m_trigger_script_event)>();
|
||||
g_pointers->m_gta.m_trigger_script_event = ptr.as<decltype(gta_pointers::m_trigger_script_event)>();
|
||||
}
|
||||
},
|
||||
// Received Event Hook
|
||||
@ -256,10 +256,10 @@ namespace big
|
||||
// Read Bitbuffer Boolean
|
||||
{
|
||||
"RBB",
|
||||
"E8 ? ? ? ? 84 C0 74 41 48 8D 56 2C",
|
||||
"48 8B C4 48 89 58 08 55 56 57 48 83 EC 20 48 83 60",
|
||||
[](memory::handle ptr)
|
||||
{
|
||||
g_pointers->m_gta.m_read_bitbuf_bool = ptr.add(1).rip().as<decltype(gta_pointers::m_read_bitbuf_bool)>();
|
||||
g_pointers->m_gta.m_read_bitbuf_bool = ptr.as<decltype(gta_pointers::m_read_bitbuf_bool)>();
|
||||
}
|
||||
},
|
||||
// Write Bitbuffer WORD/DWORD
|
||||
@ -731,7 +731,7 @@ namespace big
|
||||
// Handle Join Request
|
||||
{
|
||||
"HJR",
|
||||
"48 8B C4 48 89 58 08 4C 89 48 20 4C 89 40 18 48 89 50 10 55 56 57 41 54 41 55 41 56 41 57 48 8D A8 C8 FE",
|
||||
"48 8B C4 48 89 58 08 4C 89 48 20 4C 89 40 18 48 89 50 10 55 56 57 41 54 41 55 41 56 41 57 48 8D A8 ? ? ? ? 48 81 EC ? ? ? ? 45 33 F6",
|
||||
[](memory::handle ptr)
|
||||
{
|
||||
g_pointers->m_gta.m_handle_join_request = ptr.as<PVOID>();
|
||||
@ -1136,7 +1136,7 @@ namespace big
|
||||
// Force Player Card Refresh
|
||||
{
|
||||
"FPCR",
|
||||
"44 38 2D ? ? ? ? 74 1D 44 00 A6 BB 07 00 00",
|
||||
"C6 05 ? ? ? ? ? E8 ? ? ? ? 48 8B 6C 24",
|
||||
[](memory::handle ptr)
|
||||
{
|
||||
g_pointers->m_gta.m_force_player_card_refresh = ptr.add(3).rip().as<bool*>();
|
||||
@ -1274,16 +1274,16 @@ namespace big
|
||||
// NetFilter Handle Message
|
||||
{
|
||||
"NHM",
|
||||
"40 55 56 57 41 54 41 55 41 56 41 57 48 81 EC 50 01 00 00 48 8D 6C 24 30",
|
||||
"E9 ? ? ? ? 48 8D 81 ? ? ? ? 4C 39 08",
|
||||
[](memory::handle ptr)
|
||||
{
|
||||
g_pointers->m_gta.m_netfilter_handle_message = ptr.as<PVOID>();
|
||||
g_pointers->m_gta.m_netfilter_handle_message = ptr.add(1).rip().as<PVOID>();
|
||||
}
|
||||
},
|
||||
// Handle Chat Message
|
||||
{
|
||||
"HCM",
|
||||
"4D 85 C9 0F 84 8D",
|
||||
"4D 85 C9 0F 84 ? ? ? ? 48 8B C4 48 89 58 08 48 89 70 10 48 89 78 18 55 41 54 41 55 41 56 41 57 48 8D A8",
|
||||
[](memory::handle ptr)
|
||||
{
|
||||
g_pointers->m_gta.m_handle_chat_message = ptr.as<functions::handle_chat_message>();
|
||||
|
Loading…
Reference in New Issue
Block a user