mdockz Cheater
Reputation: 0
Joined: 24 Feb 2013 Posts: 41
|
Posted: Mon Oct 10, 2016 2:47 am Post subject: Counting how many times an address returns a specific value? |
|
|
So I want to count something in my script and display it elsewhere, possibly at another address. The problem is I really just don't know where to start looking to find out what I need to know.
Lets assume at 00432933 address, it returns a 4 byte value that changes every second. I want to capture/count how many times it returns a specific 4 byte value.
How can I accomplish this?
Thank you.
EDIT:: I figured out a way, i just allocated a new memory, and set the value 0 at that address then when i did my cmp function i just made an inc on the allocated address, seems to work fine.
Just curious if there is another/better way to do this?
|
|