mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-18 07:07:32 +08:00
feat(Pointers): Added screen resolution x/y
This commit is contained in:
parent
91b012e52e
commit
dbcd74c49a
@ -248,6 +248,12 @@ namespace big
|
|||||||
{
|
{
|
||||||
m_net_array_handler = ptr.sub(0x3C).as<PVOID>();
|
m_net_array_handler = ptr.sub(0x3C).as<PVOID>();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
main_batch.add("SCREEN_RESOLUTION", "66 0F 6E 0D ? ? ? ? 0F B7 3D", [this](memory::handle ptr)
|
||||||
|
{
|
||||||
|
m_resolution_x = ptr.sub(4).rip().as<int*>();
|
||||||
|
m_resolution_y = ptr.add(4).rip().as<int*>();
|
||||||
|
});
|
||||||
|
|
||||||
main_batch.run(memory::module(nullptr));
|
main_batch.run(memory::module(nullptr));
|
||||||
|
|
||||||
|
@ -41,6 +41,9 @@ namespace big
|
|||||||
|
|
||||||
IDXGISwapChain **m_swapchain{};
|
IDXGISwapChain **m_swapchain{};
|
||||||
|
|
||||||
|
int* m_resolution_x;
|
||||||
|
int* m_resolution_y;
|
||||||
|
|
||||||
PVOID m_blame_explode;
|
PVOID m_blame_explode;
|
||||||
PVOID m_model_spawn_bypass;
|
PVOID m_model_spawn_bypass;
|
||||||
PVOID m_native_return;
|
PVOID m_native_return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user