title: Getting ptr from memory address with c++
body: <p>Im trying to get the engine version of a game from a global pointer, but I am fairly new to this. Here is a very small example I found...</p>
  
  <p><a href="http://ampaste.net/mb42243" rel="nofollow noreferrer">http://ampaste.net/mb42243</a></p>
  
  <p>And this is the disassembly for what I am trying to get, the pointer (gpszVersionString) is the highlighted line (line 5)</p>
  
  <p><a href="http://ampaste.net/m2a8f8887" rel="nofollow noreferrer">http://ampaste.net/m2a8f8887</a></p>
  
  <p>So what I need to find out is basically using the example approach I found to get it, would I need to basically sig out the first part of the function and find the offset to that line?</p>
  
  <p>Like...</p>
  
  <p>Memory signature - /x56/x8B/x35/x74/xD5/x29/x10/x68/x00/xA8/x38/x10
  Then an offset to reach that line? (not sure how to find the offset)</p>