Stop a function from being called without modifying it?
<p>The title may seem confusing but, how would I be able to modify a subroutine without modifying its memory?</p>

<p>What I'm trying to do is basically NOP the subroutine (<em>effectively</em> making it useless) without modifying the memory or produce something equivalent to that ... Is that possible?</p>