mirror of
https://github.com/momo5502/hypervisor.git
synced 2025-04-19 13:42:55 +00:00
T6 tests
This commit is contained in:
parent
c58f6c9742
commit
ed9ed1da2f
@ -87,6 +87,7 @@ void unsafe_main(const int /*argc*/, char* /*argv*/[])
|
|||||||
|
|
||||||
const auto pid = atoi(pid_str.data());
|
const auto pid = atoi(pid_str.data());
|
||||||
|
|
||||||
|
|
||||||
// IW5
|
// IW5
|
||||||
insert_nop(driver_device, pid, 0x4488A8, 2); // Force calling CG_DrawFriendOrFoeTargetBoxes
|
insert_nop(driver_device, pid, 0x4488A8, 2); // Force calling CG_DrawFriendOrFoeTargetBoxes
|
||||||
insert_nop(driver_device, pid, 0x47F6C7, 2); // Ignore blind-eye perks
|
insert_nop(driver_device, pid, 0x47F6C7, 2); // Ignore blind-eye perks
|
||||||
@ -105,6 +106,16 @@ void unsafe_main(const int /*argc*/, char* /*argv*/[])
|
|||||||
patch_data(driver_device, pid, 0x443A2A, data3, sizeof(data3));
|
patch_data(driver_device, pid, 0x443A2A, data3, sizeof(data3));
|
||||||
patch_data(driver_device, pid, 0x443978, data3, sizeof(data3));
|
patch_data(driver_device, pid, 0x443978, data3, sizeof(data3));
|
||||||
|
|
||||||
|
/*
|
||||||
|
insert_nop(driver_device, pid, 0x441D5A, 6);
|
||||||
|
insert_nop(driver_device, pid, 0x525104, 2);
|
||||||
|
insert_nop(driver_device, pid, 0x525121, 2);
|
||||||
|
|
||||||
|
constexpr uint8_t data3[] = {0xEB};
|
||||||
|
patch_data(driver_device, pid, 0x525087, data3, sizeof(data3));
|
||||||
|
patch_data(driver_device, pid, 0x524E7F, data3, sizeof(data3));
|
||||||
|
patch_data(driver_device, pid, 0x52512C, data3, sizeof(data3));
|
||||||
|
*/
|
||||||
printf("Press any key to disable all hooks!\n");
|
printf("Press any key to disable all hooks!\n");
|
||||||
(void)_getch();
|
(void)_getch();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user