
Originally Posted by
why06
zeco I love it when you end up answering your own questions. xD
Cracks me up every time I read ur posts. cuz its like ur thinking out loud
Damnit. . . I was hoping that no-one saw that. . . >_>
Well, In my defense, it wasn't that stupid of a question this time. It's just that I decided to test it out, and surprisingly got very nice results.
Edit: Oh, never mind, you did not see it. I was just being overly paranoid. You are just referring to the first part of my post that i forgot about. ^_^"
I've edited my previous post like 6 times. I even had an elaborate example at one point, before I found the answer myself.
But either way, it wasn't very surprising that i couldn't use Labels like addresses in C++, but it was quite a pleasant surprise that you could do so in the inline assembler. Very useful indeed, That way, i could technically put labels on both ends of code i might want to move somewhere, it definitely makes copying large blocks of code with WriteProcessMemory a lot easier. Well. . . A lot easier than finding the Opcodes yourself and putting it in a byte array. Actually. I think I want to try putting random code in byte arrays now.