VirtualProtectEx fails with code 87 (ERROR_INVALID_PARAMETER) when called on another process
I am trying to override another process memory in order to create a simple detour in the future. This use case is more specific than what I managed to find in other questions already as I’m trying to modify memory region of the binary code and not just some variable.