View Full Version : How to find what writes a particular RAM address in IDA?

March 15th, 2013, 14:18

I know other tools can be used for this. But I must use IDA (I'm trying to learn it).
In the game I'm hacking, I want to reverse engineer a random number generator (simple one).

The game calculates the random number and stores it in 0x00CC14D2 in RAM.
So naturally I want to see the instructions that calculate this random number.

How can I go about finding what writes to this address using IDA? (It seems IDA cannot set breakpoints on RAM?)

Thanks for reading, I hope someone can help!

March 15th, 2013, 23:16

You may need to look at:

1. Hardware breakpoint (as opposed to normal breakpoints)
2. Make it Read/Write, instead of Execute, as you're breaking on data (presumably).
3. If it uses DirectX, which is an entirely different beast to crack than normal applications, you may have a lot of broken arrows, trying to snap just when the fish jumps out of water.

Have Phun