Two things are here..
1)"SteamworksNative.DLL"+0001E078 , the pointer's location
and
2)WriteDMAInteger("BROFORCE_Beta", &HE8E078, Offsets:={... , write value to the pointed location
1 is (obviously) based RELATIVE to 'SteamworksNative.dll'
2 isn't passed the .dll name....so you must be passing in the base address of the .dll, or some other info so this function knows which .dll the address is relative to
oo..you didn't write that WriteDma*** function...you're using someone else's memory library..
Write your own, and if you can't, you don't understand this 'virtual memory "stuff"' &| the programming language well enough?
----
it looks like the 2nd parameter is the baseaddress of the module
WriteDMAInteger("BROFORCE_Beta", &HE8E078,
but you should find the module's location programatically, not hardcode it in
Something like
Code:
For Each _module as ProcessModule In _targetProcess.Modules
If _module.ModuleName = "myTargetModulesName.dll" Then
''get some info about it -> base address
Exit For ' leave loop, we found our module and are finished scanning
End If
Next
''(assuming you already have a reference/handle to the target process...or an id/name, and know how to get a reference to it)
will loop over each module of the target process -- this way you can find that module, and get its base address
module.BaseAddress
Or, do you have a specific question? Looks like you're saying you don't know how to calculate an address relative to the beginning of a .dll in ram? That can't be it...
Like I said...write your own memory library (reading/writing, eventually 'searching'), else you probably don't understand the subject well enough to be doing it. imho.