Basically i want to replace MOVS R1, #0x0 with MOV.W R1, #0x123 .since later instruction requires 4 bytes it is impossible to simply replace in HEX code. P.S. I'm trying to hack android native library. I found most hacking tutorials here, so i'm asking this question here