Thread: [Solved] Skip an instruction?
View Single Post
Author Message
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 09-08-2018 , 17:55   Skip an instruction?
Reply With Quote #1

I'm trying to patch a function in IDA for L4D2. In my disassembly I have two conditional jumps which I would like to skip completely. Is there a way to completely skip the functions?



PHP Code:
0F 84 7D 01 00 00                       jz      loc_7F3B88
0F 85 20 02 00 00                       jnz     loc_7F3C38 
NOP them is not an option, as I still need the function to complete. Just want to remove these 2 conditions. I have address and offsets, but not sure how to skip.

Any ideas?
__________________

Last edited by Spirit_12; 09-10-2018 at 03:28.
Spirit_12 is offline