| View previous topic :: View next topic |
| Author |
Message |
paul44 Expert Cheater
Reputation: 2
Joined: 20 Jul 2017 Posts: 209
|
Posted: Wed Jan 07, 2026 2:03 pm Post subject: Defining DLL address in ASM [Solved] |
|
|
Basically, I'd like to assign following:
DLL_address:
"D2Game.dll"+000BE72C
I tried some combos, and also with 'define' but could not get it working. I'm sure it's been mentioned here somewhere, but my search_terms are surely mishitting...
btw: if there are multiple ways to tackle this, do tell !
ps: I can address this using lua though, like this:
unregisterSymbol("pFeedSingle")
if not getAddressSafe("pFeedSingle") then registerSymbol("pFeedSingle", allocateMemory( 8 )) end
local addrFeed = getAddress('D2Game.dll"+000BE72C')
writeQword(getAddress('pFeedSingle'),addrFeed)
Last edited by paul44 on Thu Jan 08, 2026 1:41 pm; edited 1 time in total |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25854 Location: The netherlands
|
Posted: Wed Jan 07, 2026 4:06 pm Post subject: |
|
|
I don't understand what you wish to do
but your lua code can be rewritten in autoassembler as:
| Code: |
alloc(pFeedSingle,8)
registersymbol(pFeedSingle)
pFeedSingle:
dq "D2Game.dll"+000BE72C
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
paul44 Expert Cheater
Reputation: 2
Joined: 20 Jul 2017 Posts: 209
|
Posted: Thu Jan 08, 2026 1:41 pm Post subject: 'dq' was the "key" |
|
|
that worked splendidly; hindsight obviously logical
ps: one needs to use 'alloc'; does not work with 'globalalloc'
(just an fyi for anyone reading this)
|
|
| Back to top |
|
 |
|