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 


Pointer for an Object?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
NoNamerWhichTries
How do I cheat?
Reputation: 0

Joined: 08 Nov 2025
Posts: 1

PostPosted: Sat Nov 08, 2025 6:37 am    Post subject: Pointer for an Object? Reply with quote

Well as the Subject Title says i got a problem with a pointer or i dont know how to call it xD,

well first of all here is my code

Code:
 [ENABLE]
alloc(newmem, 2048, "Game.dll"+4BC20)
alloc(myGlobalPointer, 8)
alloc(myHealthValue, 8)
registersymbol(myGlobalPointer)
registersymbol(myHealthValue)
label(returnhere)
label(originalcode)

newmem:
    mov [myGlobalPointer], ecx
    movsd xmm1, [ecx+0x9B0]
    movsd [myHealthValue], xmm1
    movsd xmm0, [ecx+0x9B0]
    jmp returnhere

originalcode:
    movsd xmm0, [ecx+0x9B0]

"Game.dll"+4BC20:
    jmp newmem
    nop 3

returnhere:

[DISABLE]
unregistersymbol(myGlobalPointer)
unregistersymbol(myHealthValue)
dealloc(newmem)
dealloc(myGlobalPointer)
dealloc(myHealthValue)
"Game.dll"+4BC20:
    db F2 0F 10 81 B0 09 00 00



everything in there is working fine so
"
Code:
movsd xmm0, [ecx+0x9B0]
" you see this opcode - in ecx+9b0 are all the health values from npc & enemies & myself so i tried to find a pointer for the
ecx after hours of searching and trying around,

maybe i have to explain little bit more into the when i press find out what addresses this instruction access there is around it depents how many enemies are close 15 addresses at the same time pop up but all with diffrent addresses i thought maybe they are connected with offsets between them but nope they just random alocated it seems or not random but not in a normal offset "array".

and after try to make a breakpoint on the instruction and look what is in ecx and search it directly via cheat engine search 4 byte hex i found 1 left over addresse after i did it couple of times. i found an pointer but its not stable.(i even tried a ptr scan on this address i put it on 12 lvl and 7000, took me 7 hours to get milions results, that in the end result into nothing. xD

so what i want, i want to make myself a bot for an rpg just to learn -
as far as i know this instrucion has to do something with health i mean the addresse in memory view says ":
Code:
Game.GAME::Character::GetCurrejntLifeInt
,
and i want to get the pointer so i can iterate through all the enemies and get other values, and make myself an farm bot.

well the script is doing that but i need a ptr for my program that i want to write. maybe someone can help or i just dont see the tree in the front of my eyes anymore xD.

thank you anyway Wink


ps: if you need screenshots from something else let me know,
well i tried to follow ecx in the code line back but couldnt find a point either, maybe i dont know how to follow it properly, im working with cheat engine already quite some time but never really came to that point.
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