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 


hello

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

Joined: 02 Dec 2019
Posts: 4
Location: germany

PostPosted: Mon Dec 02, 2019 4:06 pm    Post subject: hello Reply with quote

GG is very useful for finding xor values, once you know the xor values are 4 bytes apart for example, you can search the value directly as a dword x4, and will get you the result in less than a minute, I am not fond of game guardian and would like to know if it is possible to do so in Cheat Engine.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4300

PostPosted: Mon Dec 02, 2019 8:58 pm    Post subject: Reply with quote

Use a custom value type. Right click the value type box, click "Add custom type (AA)" and add something like this:
Code:
alloc(ConvertRoutine,1024)
alloc(ConvertBackRoutine,1024)
alloc(TypeName,256)
alloc(ByteSize,4)
alloc(UsesFloat,1)
alloc(CallMethod,1)

TypeName:
  db '2x4 byte xor',0
ByteSize:
  dd 8
UsesFloat:
  db 0
CallMethod:
  db 1

// cdecl int ConvertRoutine(unsigned char *input, PTR_UINT address);
ConvertRoutine:
[64-bit]
  mov eax,[rcx+4]
  xor eax,[rcx]
[/64-bit]
[32-bit]
  mov ecx,[esp+4]
  mov eax,[ecx+4]
  xor eax,[ecx]
[/32-bit]
  ret

// cdecl void ConvertBackRoutine(int i, PTR_UINT address, unsigned char *output);
ConvertBackRoutine:
[64-bit]
  mov eax,[r8+4]
  xor eax,ecx
  mov [r8],eax
[/64-bit]
[32-bit]
  mov ecx,[esp+C]
  mov eax,[ecx+4]
  xor eax,[esp+4]
  mov [ecx],eax
[/32-bit]
  ret
(disclaimer - untested)
_________________
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
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