nero1232 Advanced Cheater Reputation: 0
Joined: 08 Mar 2017 Posts: 65
|
Posted: Sat Mar 18, 2017 4:09 am Post subject: Crash on memory access |
|
|
Hi guys,
I am accessing a pointer by hooking into a function:
mov rcx,[rcx+030F2B48]
mov rcx,[rcx+D0]
mov rcx,[rcx+5B0]
mov rcx,[rcx+30]
mov rcx,[rcx+420]
Now this works 95% of the time but when loading a new level there is a a brief period where RCX+420 crashes the game, I look into RCX before this instruction is executed and it equals something like 61FC50 then when I do a dissect data structure it has nothing and just says 'Unamed Structure', so then when you try to +420 on that it crashes the game.
Is there anyway to check before the access to prevent the crash?
|
|