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 


Help for no sway | game crashing | not good offset maybe

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

Joined: 01 Jan 2021
Posts: 6

PostPosted: Sat Dec 04, 2021 11:20 am    Post subject: Help for no sway | game crashing | not good offset maybe Reply with quote

Hi!

I need help for do an "no sway" in The hunter Call of the wild.

my game crash always i show you what i find and i use.

Code:

[ENABLE]
alloc(newmem,2048,"VCRUNTIME140.dll"+140C)
label(returnhere)
label(originalcode)
label(exit)

newmem:

cmp [rax+28C],1
jne originalcode
mov ecx,0

originalcode:
mov [rax],ecx
ret
nop
cmp r8,20

exit:
jmp returnhere

"VCRUNTIME140.dll"+140C:
jmp newmem
nop 3
returnhere:


 
 
[DISABLE]
dealloc(newmem)
"VCRUNTIME140.dll"+140C:
mov [rax],ecx
ret
nop
cmp r8,20


If you need details for something tell me.

THX for all helps !



nu9A36M.png
 Description:
Insctuction
 Filesize:  60.27 KB
 Viewed:  1696 Time(s)

nu9A36M.png



wrRFnYj.png
 Description:
Structure
 Filesize:  203.46 KB
 Viewed:  1696 Time(s)

wrRFnYj.png




Last edited by TheGeogeo on Sun Dec 05, 2021 7:01 am; edited 2 times in total
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sun Dec 05, 2021 12:57 am    Post subject: Reply with quote

Quote:
alloc(newmem,2048,"VCRUNTIME140.dll"+140C)


Based on this, I'd assume you're hooking onto memcpy, memset, memmov, or similar. This is not a valid point to inject at for something like this. You'd need to work back into the games memory space and find a better position there. (You technically can hook here but its a lot more work involved as you'll need to write all kinds of checks and nonsense to ensure you are only ever touching the address you need. Otherwise you are going to affect every single call to the STD function being altered. Which will be a lot.)

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
TheGeogeo
How do I cheat?
Reputation: 0

Joined: 01 Jan 2021
Posts: 6

PostPosted: Sun Dec 05, 2021 6:28 am    Post subject: Reply with quote

atom0s wrote:

Based on this, I'd assume you're hooking onto memcpy, memset, memmov, or similar. This is not a valid point to inject at for something like this. You'd need to work back into the games memory space and find a better position there. (You technically can hook here but its a lot more work involved as you'll need to write all kinds of checks and nonsense to ensure you are only ever touching the address you need. Otherwise you are going to affect every single call to the STD function being altered. Which will be a lot.)


Thx.
It's when i "acces write the value" i find only this intruction i don't know how backtrack for find better "position".
If you have a tuto i take it Exclamation
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