| View previous topic :: View next topic |
| Author |
Message |
Rexkh Newbie cheater
Reputation: 0
Joined: 04 Feb 2020 Posts: 18
|
Posted: Sun Feb 09, 2020 9:20 am Post subject: Break and Trace Condition (With Offset) |
|
|
Hi
readInteger(0x0019EE18)==0x3F800000 It work.
readInteger(ESP+18)==0x3F800000 It doesn't work (ESP+18=0x0019EE18)
It seem that +Offset is not recognized
Do you know the correct syntax?
|
|
| Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4706
|
Posted: Sun Feb 09, 2020 10:12 am Post subject: |
|
|
Did you mean to write ESP+0x18?
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
| Back to top |
|
 |
Rexkh Newbie cheater
Reputation: 0
Joined: 04 Feb 2020 Posts: 18
|
Posted: Sun Feb 09, 2020 10:38 am Post subject: |
|
|
Yes. It's equal to
cmp [esp+18],0019EE18
in script
And I come across another problem. If I write the script as following
cmp ebp,01000001 (01000001 is value, not address) and activate it, 01000001 turn to StateOfDecay.exe+C00001. why?
81 FD 01000001 cmp ebp,StateOfDecay.exe+C00001
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25807 Location: The netherlands
|
Posted: Sun Feb 09, 2020 10:56 am Post subject: |
|
|
so you tried this?
| Code: |
readInteger(ESP+0x18)==0x3F800000
|
as for the second thing, click view->show module addresses
_________________
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 |
|
 |
Rexkh Newbie cheater
Reputation: 0
Joined: 04 Feb 2020 Posts: 18
|
Posted: Sun Feb 09, 2020 10:59 am Post subject: |
|
|
| How can I tell the compiler that 01000001 is hex number, not an address?
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25807 Location: The netherlands
|
Posted: Sun Feb 09, 2020 11:13 am Post subject: |
|
|
there is no difference between a hex number and an address
just click view->show module addresses until the checkbox disappears and it shows all values as hexadecimal
_________________
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 |
|
 |
Rexkh Newbie cheater
Reputation: 0
Joined: 04 Feb 2020 Posts: 18
|
Posted: Sun Feb 09, 2020 11:25 am Post subject: |
|
|
It's so tricky. I have to 0x before 18 to make it works. Dark Byte. You know everything.
By the way, uncheck Show module address is just toggle between Real Address and Base Address plus offset.
The problem is, If address 01000001 = 00005555, it would compare ebp with 00005555 instead of 01000001.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25807 Location: The netherlands
|
Posted: Sun Feb 09, 2020 12:13 pm Post subject: |
|
|
| Code: |
cmp ebp,StateOfDecay.exe+C00001
|
is the same as
so in both cases the value of the EBP register gets compared with 01000001
if you do
and EBP is 00005555 then the value at 00005555 gets compared with 01000001
if EBP is 12345678 then the value at 12345678 gets compared with 01000001
_________________
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 |
|
 |
Rexkh Newbie cheater
Reputation: 0
Joined: 04 Feb 2020 Posts: 18
|
Posted: Sun Feb 09, 2020 12:28 pm Post subject: |
|
|
Oh my bad, you are right.
By the way, do you know if it is possible to search for specific opcode.
Ex. add eax,???. search for add of eax register and any register. Plus how many of them in total in the entire code.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25807 Location: The netherlands
|
Posted: Sun Feb 09, 2020 12:29 pm Post subject: |
|
|
search->find assembly code
and then search for
_________________
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 |
|
 |
|