| View previous topic :: View next topic |
| Author |
Message |
gea99 How do I cheat?
Reputation: 0
Joined: 30 Dec 2023 Posts: 8
|
Posted: Wed Jan 03, 2024 10:41 am Post subject: Don't working cmp |
|
|
I can't understate why cmp don't working here. When [01CB9FB4]<>A it for unknown reason write to [ecx+54]=A.
cmp [01CB9FB4],A
je p
mov [ecx+54],5
nop
mov eax,[ecx+54]
p:
mov [ecx+54],A
nop
mov eax,[ecx+54] |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25837 Location: The netherlands
|
Posted: Wed Jan 03, 2024 11:18 am Post subject: |
|
|
You need to jmp behind p's code after writing 5 else you'll undo your write of 5 by executing p's code which writes A _________________
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 |
|
 |
gea99 How do I cheat?
Reputation: 0
Joined: 30 Dec 2023 Posts: 8
|
Posted: Wed Jan 03, 2024 11:30 am Post subject: |
|
|
| Dark Byte wrote: | | You need to jmp behind p's code after writing 5 else you'll undo your write of 5 by executing p's code which writes A |
It working with this code
cmp [01CB9FB4],A
je p
mov [ecx+54],5
ret
p:
mov [ecx+54],A
ret
nop
mov eax,[ecx+54] |
|
| Back to top |
|
 |
|