title: Memory address from pointer
body: <p>Yesterday i started messing with c# and VAMemory.ddl. My goal is to make a Program that will Read the player's HP from a game "League of Legends".
  I found out the static address of the HP and read it:</p>
  
  <pre><code>vam.ReadFloat((IntPtr)address);
  </code></pre>
  
  <p>It worked pretty well, and i could see my in-game HP from my program, but since it is a static address and it changes every time i restart the game, i have to find the address every time.
  So i started to look for pointers. I followed a couple of tutorials and after about a Hour i could see my HP in cheatengine, restart the game and without chaneging the address still see it.</p>
  
  <p>But i don't understand how would i implement it to my program, i couldn't find any tutorials. :/</p>
  
  <p>Here is what i found from Cheatengine:</p>
  
  <p><a href="https://i.stack.imgur.com/5nkIU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5nkIU.png" alt="CE"></a></p>
  
  <p>Current HP - League of Legends.exe - 0x032871FC - 0x58, 0x6C0, 0x42C, 0x90, 0x448 - float</p>