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 


Find out what addresses this instruction accesses in c++

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
wulfcare
Advanced Cheater
Reputation: 0

Joined: 27 Feb 2023
Posts: 64

PostPosted: Thu Mar 16, 2023 11:46 pm    Post subject: Find out what addresses this instruction accesses in c++ Reply with quote

Would it be hard for me to make my own "Find out what addresses this instruction accesses" for c++. This would make it very easy for me to code my entityList if I was able to have my own c++ version for this as it reads all entities perfectly.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 150

Joined: 06 Jul 2014
Posts: 4654

PostPosted: Fri Mar 17, 2023 12:51 am    Post subject: Reply with quote

Copying CE would involve writing your own debugger. It would probably be easier to do a code injection.
_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
wulfcare
Advanced Cheater
Reputation: 0

Joined: 27 Feb 2023
Posts: 64

PostPosted: Fri Mar 17, 2023 1:00 am    Post subject: Reply with quote

The function below is what has been disassembled in hex rays. What would be the easiest way to read each value thats passed into *entityStruct / RDX register. In this scenario is code injection still the best method to do so?

I am currently reading up on PolyHooking for reading register values, is this another viable method?

__int64 *__fastcall sub_EntityListUpdater(__int64 *a1, __int64 *entityStruct)
{
__int64 v2; // r8
__int64 v3; // rax

v2 = *entityStruct;
v3 = entityStruct[1];
*a1 = *entityStruct;
a1[1] = v3;
if ( v2 )
_InterlockedExchangeAdd((volatile signed __int32 *)(v2 + Cool, 1u);
return a1;
}
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