HLE: Support for modifying r0 in the patch