mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-09 02:43:38 +08:00
feat(Pointers): Added FriendRegistry
This commit is contained in:
parent
0898dbe2ff
commit
accabcdfa1
@ -1,5 +1,4 @@
|
||||
#include "common.hpp"
|
||||
#include "logger.hpp"
|
||||
#include "pointers.hpp"
|
||||
#include "memory/all.hpp"
|
||||
|
||||
@ -233,6 +232,11 @@ namespace big
|
||||
{
|
||||
m_network_player_mgr_shutdown = ptr.sub(0x17).as<PVOID>();
|
||||
});
|
||||
|
||||
main_batch.add("FR", "3B 0D ? ? ? ? 73 13 48 63 C9", [this](memory::handle ptr)
|
||||
{
|
||||
m_friend_registry = ptr.add(2).rip().as<FriendRegistry*>();
|
||||
});
|
||||
|
||||
main_batch.run(memory::module(nullptr));
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
#include "common.hpp"
|
||||
#include "CNetworkPlayerMgr.hpp"
|
||||
#include "FriendRegistry.hpp"
|
||||
#include "gta/fwddec.hpp"
|
||||
#include "gta/enums.hpp"
|
||||
#include "gta/replay.hpp"
|
||||
@ -47,6 +48,8 @@ namespace big
|
||||
|
||||
PVOID m_error_screen{};
|
||||
|
||||
FriendRegistry* m_friend_registry{};
|
||||
|
||||
functions::get_net_game_player* m_get_net_game_player{};
|
||||
|
||||
PVOID m_gta_thread_start{};
|
||||
|
Loading…
x
Reference in New Issue
Block a user