diff --git a/src/runner/main.cpp b/src/runner/main.cpp index f6cdaab..1980cf8 100644 --- a/src/runner/main.cpp +++ b/src/runner/main.cpp @@ -87,6 +87,7 @@ void unsafe_main(const int /*argc*/, char* /*argv*/[]) const auto pid = atoi(pid_str.data()); + // IW5 insert_nop(driver_device, pid, 0x4488A8, 2); // Force calling CG_DrawFriendOrFoeTargetBoxes insert_nop(driver_device, pid, 0x47F6C7, 2); // Ignore blind-eye perks @@ -104,7 +105,17 @@ void unsafe_main(const int /*argc*/, char* /*argv*/[]) constexpr uint8_t data3[] = {0xEB}; patch_data(driver_device, pid, 0x443A2A, 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"); (void)_getch();