When i see how nice formattning everyone uses when they develop stuff i am always amazed, i always write a complete mess with programming.
I also have wasted years on C#, though i can't make an application except for beginner level stuff;P
And you are telling me this is the first time you started using ASM and Gecko, not sure if i should be impressed by you, or ashamed of my own performance XD
Anyhow, i don't get how i am supposed to skip some codes if i decide to inject and replace several lines.
As only the first lines gets replaced and then branched, i assume one has to branch back + offset to the line you want.
I tried loading the memory address into a register, then use "mtlr rX" "blr rX" to no avail, it returns but at a totally different address, and i can't figure out why
I also have wasted years on C#, though i can't make an application except for beginner level stuff;P
And you are telling me this is the first time you started using ASM and Gecko, not sure if i should be impressed by you, or ashamed of my own performance XD
Anyhow, i don't get how i am supposed to skip some codes if i decide to inject and replace several lines.
As only the first lines gets replaced and then branched, i assume one has to branch back + offset to the line you want.
I tried loading the memory address into a register, then use "mtlr rX" "blr rX" to no avail, it returns but at a totally different address, and i can't figure out why

!