#include <kernwin.hpp> // For get_screen_ea()
#include <bytes.hpp>
// Get the flags for the byte at the cursor position.
flags_t flags = getFlags(get_screen_ea());
// Replace the instruction at the cursor position with a NOP instruction (0x90).
// Unless used carefully, your executable will probably not work correctly after this :-)
if (isCode(flags))
patch_byte(get_screen_ea(), 0x90);







