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.
I am using IDA Pro for analyzing native android library. I read about codecaves but my text segment don't have free space to add new data.
Since i'm newbie to this, any tutorials are welcome.