| View previous topic :: View next topic |
| Author |
Message |
tkx Newbie cheater
Reputation: 0
Joined: 28 Jul 2010 Posts: 14
|
Posted: Sat Jan 27, 2018 2:51 am Post subject: Can I use AOBScan w/ user symbols in AutoAssembler? |
|
|
I want to do something like:
| Code: | | aobscan(output, E8 functionAddress AB CD EF) |
Where "functionAddress" is a symbol storing a 4 byte address that I found earlier.
I have a situation where there are too many results using wildcards, even adding like 30+ surrounding bytes in the AOB scan, but scanning with "functionAddress" would return only 1 result and solve everything.
Is this possible at all? I'm using AutoAssembler but not averse to using Lua. |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25859 Location: The netherlands
|
Posted: Sat Jan 27, 2018 5:17 am Post subject: |
|
|
is functionAddress a registered symbol on the address you want to have there, or pointing to the address that contains the value ?
If symbol itself, replace that line with:
| Code: |
{$lua}
return string.format("aobscan(output, E8 %.2x %.2x %.2x %.2x AB CD EF)", unpack(dwordToByteTable(getAddress('functionAddress'))))
{$asm}
|
if the address it points to:
| Code: |
{$asm}
return string.format("aobscan(output, E8 %.2x %.2x %.2x %.2x AB CD EF)", unpack(dwordToByteTable(readInteger('functionAddress'))))
{$asm}
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
tkx Newbie cheater
Reputation: 0
Joined: 28 Jul 2010 Posts: 14
|
Posted: Sat Jan 27, 2018 5:59 pm Post subject: |
|
|
| Awesome that worked great, thank you! |
|
| Back to top |
|
 |
|