Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Defining DLL address in ASM [Solved]

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
paul44
Expert Cheater
Reputation: 2

Joined: 20 Jul 2017
Posts: 209

PostPosted: Wed Jan 07, 2026 2:03 pm    Post subject: Defining DLL address in ASM [Solved] Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25854
Location: The netherlands

PostPosted: Wed Jan 07, 2026 4:06 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
paul44
Expert Cheater
Reputation: 2

Joined: 20 Jul 2017
Posts: 209

PostPosted: Thu Jan 08, 2026 1:41 pm    Post subject: 'dq' was the "key" Reply with quote

that worked splendidly; hindsight obviously logical Embarassed

ps: one needs to use 'alloc'; does not work with 'globalalloc'
(just an fyi for anyone reading this)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites