Posted: Fri Nov 02, 2012 2:04 pm Post subject: [ASM] Using part of AoBscan result in a new AoBscan
Hey, I had a question about the ASM, not even sure if I'm posting it in the right place, but we have a lot of questions here anyway, so I figured why not here.
My problem is as followed, I'm trying to make an automated ASM script where I scan for one AoB, then another AoB, and take parts of those AoB's and overwrite one with the other.
As for example, I scan for this:
0A 23 34 45 67 89 AB CD EF XX XX XX XX FE DC BA 98 76 54 32 10
And for this:
0B 23 34 45 67 89 AB CD EF ZZ ZZ ZZ ZZ FE DC BA 98 76 54 32 10
The XX's and ZZ's are always pointing to an address in memory, which changes every time you restart the game.
Anyway, at this point I want to scan for the XX's value, and replace all results with the ZZ's
Is this possible in ASM, or at all? I'm guessing I'd need to start learning C++ to get this to work.
It's about a flash game btw, so pointers are out of the question.
AOBScan(address1, "0A 23 34 45 67 89 AB CD EF XX XX XX XX FE DC BA 98 76 54 32 10")
AOBScan(address2, "0B 23 34 45 67 89 AB CD EF ZZ ZZ ZZ ZZ FE DC BA 98 76 54 32 10")
writeInteger(address2, readInteger(address1+9))
Also we need only the bytes between the 9 byte and the the 12 byte.
Is it possible aswell? _________________
I'm rusty and getting older, help me re-learn lua.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum