feat(Pointers): Added screen resolution x/y
This commit is contained in:
parent
6a34e61aee
commit
4ed4ce0ee3
@ -248,6 +248,12 @@ namespace big
|
||||
{
|
||||
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));
|
||||
|
||||
|
@ -41,6 +41,9 @@ namespace big
|
||||
|
||||
IDXGISwapChain **m_swapchain{};
|
||||
|
||||
int* m_resolution_x;
|
||||
int* m_resolution_y;
|
||||
|
||||
PVOID m_blame_explode;
|
||||
PVOID m_model_spawn_bypass;
|
||||
PVOID m_native_return;
|
||||
|
Reference in New Issue
Block a user