Posted: Fri Jan 06, 2012 10:34 pm Post subject: Help finding what accesses an address that is only accessed
It's only accessed once.
Basically the game is loading a file and I know exactly which file it is. However it only loads it once and stores it in memory. Now I assume after this is done, it reads certain values from it and stores it somewhere else in memory. When the characters are changed, the file is flushed from memory.
My problem is I can't seem to find exactly when it is loaded into memory so I always miss the oppurtunity to see what is accessing the value I'm trying to monitor.
I know it loads the file after selecting the character because the array is not present in memory until doing so. I've tried setting breakpoints on kernel32.Readfile but I never seem to come across the file.
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
Posted: Sat Jan 07, 2012 8:53 am Post subject:
Try setting a breakpoint on CreateFileA / CreateFileW to see if those API are being used to read the file. If so you can follow the callstack back to where the file is being opened / read. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum