CE pointer to AutoIT

03/10/2018 13:28 Garkeon#1
Hello guys,

I need help to read memory value in AutoIT from CE pointer.
Basically I found this pointer in CE and after copying, it looks like this:
Code:
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>1</ID>
      <Description>"pointerscan result"</Description>
      <LastState Value="134" RealAddress="1F05F6A0"/>
      <VariableType>Double</VariableType>
      <Address>"npswf32.dll"+00D6E398</Address>
      <Offsets>
        <Offset>270</Offset>
        <Offset>314</Offset>
        <Offset>34C</Offset>
        <Offset>3C0</Offset>
      </Offsets>
    </CheatEntry>
  </CheatEntries>
</CheatTable>
I tried memory reading in AutoIT like this (Using NomadMemory) but it didn't work can someone help me? Thanks!
Code:
#include <NomadMemory.au3>


Global $Module = 'npswf32.dll'
Global $StaticOffset = 'D6E398'
Global $Offset[5]
$Offset[0] = 0
$Offset[1] = Dec("3C0")
$Offset[2] = Dec("34C")
$Offset[3] = Dec("314")
$Offset[4] = Dec("270")

$Process = _MemoryOpen(ProcessExists('juggernautclient.exe'))
If Not @error Then
	$baseADDR = _MemoryModuleGetBaseAddress($Process, $Module)
	$finalADDR = "0x" & Hex($baseADDR + $StaticOffset)
	$Value = _MemoryPointerRead($finalADDR, $Process, $Offset, 'DOUBLE')
	If Not @error Then
		MsgBox(0, "Memory Read", $Value[1])
	Else
		MsgBox(0, "Error", "Could read memory!")
	EndIf
Else
	MsgBox(0, "Error", "No process!")
EndIf
03/10/2018 19:28 elmarcia#2
[Only registered and activated users can see links. Click Here To Register...]
03/10/2018 21:35 Garkeon#3
Quote:
Originally Posted by elmarcia View Post
[Only registered and activated users can see links. Click Here To Register...]
That really helped me understand things, thanks a lot for that.