I usually take a whole copy of the code (using readmem), and I add the instructions I want in a cave.
If you want to write directly, do as ParkourPenguin suggested: define the bytes somewhere and make sure it's written to address you want. Although the address could be the actual process, it does not have to be allocated memory. (meaning, instead of 'foo' you put there myprocess.exe+592850 or something)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum