feat(Pointers): Added pointers and function declaration for Sync Local Time With Session
This commit is contained in:
parent
6afc080d50
commit
73640406ba
@ -8,4 +8,6 @@ namespace big::functions
|
||||
using run_script_threads_t = bool(*)(std::uint32_t ops_to_execute);
|
||||
using get_native_handler_t = rage::scrNativeHandler(*)(rage::scrNativeRegistrationTable*, rage::scrNativeHash);
|
||||
using fix_vectors_t = void(*)(rage::scrNativeCallContext*);
|
||||
|
||||
using sync_local_time_t = void(int h, int m);
|
||||
}
|
||||
|
@ -71,6 +71,13 @@ namespace big
|
||||
m_model_spawn_bypass = ptr.add(8).as<PVOID>();
|
||||
});
|
||||
|
||||
// My new pointers
|
||||
// Sync Local Time with Session
|
||||
main_batch.add("Sync Local Time", "48 89 5C 24 ? 57 48 83 EC 20 8B F9 48 8B 0D ? ? ? ? 48 8B DA 33 D2", [this](memory::handle ptr)
|
||||
{
|
||||
m_sync_local_time = ptr.as<decltype(m_sync_local_time)>();
|
||||
});
|
||||
|
||||
main_batch.run(memory::module(nullptr));
|
||||
|
||||
m_hwnd = FindWindowW(L"grcWindow", nullptr);
|
||||
|
@ -34,6 +34,8 @@ namespace big
|
||||
IDXGISwapChain **m_swapchain{};
|
||||
|
||||
PVOID m_model_spawn_bypass;
|
||||
|
||||
functions::sync_local_time_t* m_sync_local_time{};
|
||||
};
|
||||
|
||||
inline pointers *g_pointers{};
|
||||
|
Reference in New Issue
Block a user