feat(Pointers): Added ReplayInterface

This commit is contained in:
Yimura 2021-01-15 16:48:47 +01:00
parent 04eb6617b1
commit 005ebb8ce7
No known key found for this signature in database
GPG Key ID: 3D8FF4397E768682
2 changed files with 6 additions and 0 deletions

View File

@ -123,6 +123,11 @@ namespace big
m_get_event_data = ptr.sub(28).as<decltype(m_get_event_data)>();
});
main_batch.add("Replay Interface", "48 8D 0D ? ? ? ? 48 8B D7 E8 ? ? ? ? 48 8D 0D ? ? ? ? 8A D8 E8 ? ? ? ? 84 DB 75 13 48 8D 0D", [this](memory::handle ptr)
{
m_replay_interface = ptr.add(3).rip().as<CReplayInterface**>();
});
main_batch.run(memory::module(nullptr));
m_hwnd = FindWindowW(L"grcWindow", nullptr);

View File

@ -19,6 +19,7 @@ namespace big
CPedFactory **m_ped_factory{};
CNetworkPlayerMgr **m_network_player_mgr{};
CReplayInterface **m_replay_interface{};
rage::scrNativeRegistrationTable *m_native_registration_table{};
functions::get_native_handler_t m_get_native_handler{};