| View previous topic :: View next topic |
| Author |
Message |
catfood Cheater
Reputation: 0
Joined: 22 Jun 2015 Posts: 34
|
Posted: Fri Nov 04, 2016 8:50 pm Post subject: Change Registers in AA Script |
|
|
Is there any way I can change the register at an address in an AA script?
Fake script for example:
[enable]
Address:
*set EAX to x value*
[disable]
Address:
*set EAX to x value*
For now i've just been using the 'Change register at this location' in memory view, but it's a pain to have to manually change it every time and keep memory view open.
Any help is appreciated.
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Fri Nov 04, 2016 9:02 pm Post subject: |
|
|
Maybe you should check out the tutorial forum...
AOB Injection Template
|
|
| Back to top |
|
 |
catfood Cheater
Reputation: 0
Joined: 22 Jun 2015 Posts: 34
|
Posted: Fri Nov 04, 2016 9:20 pm Post subject: |
|
|
Maybe I didn't phrase my question correctly, sorry.
That code will change the instruction at the address, which isn't what i'm trying to do.
Say for example I have address 123456 and the instruction is push eax.
When I breakpoint at that address, it shows that the EAX is 2.
So without right clicking it and doing 'Change register at this location', how would I include something to change its EAX in an AA script?
Using the code you provided, it would change the 'push eax' to 'mov eax'
Last edited by catfood on Fri Nov 04, 2016 9:26 pm; edited 1 time in total |
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Fri Nov 04, 2016 9:26 pm Post subject: |
|
|
| AOB Injection Template
|
|
| Back to top |
|
 |
catfood Cheater
Reputation: 0
Joined: 22 Jun 2015 Posts: 34
|
Posted: Fri Nov 04, 2016 10:13 pm Post subject: |
|
|
nevermind i'm just an idiot... my apologies..
thank you so much Zanzer!
|
|
| Back to top |
|
 |
|