|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
eam587 How do I cheat? Reputation: 0
Joined: 12 Sep 2022 Posts: 2
|
Posted: Mon Sep 12, 2022 7:20 pm Post subject: How do I get a Boolean value from this? |
|
|
Note: I'm not terribly familiar with assembly or pointers....
The boolean value that this code accesses, is there a way to add it to a table so I can just set it on (1)?
Code: |
MyScripts.GameCore.JokerBehaviour:get_IsCheatEnabled 48 83 EC 08 sub rsp, 08 8
MyScripts.GameCore.JokerBehaviour:get_IsCheatEnabled+4 48 b8 103818b344020000 mov rax,00000244b3183810 (246e5376b60)
MyScripts.GameCore.JokerBehaviour:get_IsCheatEnabled+E 48 8b 00 mov rax,[rax]
MyScripts.GameCore.JokerBehaviour:get_IsCheatEnabled+11 48 8b c8 mov rcx, rax
MyScripts.GameCore.JokerBehaviour:get_IsCheatEnabled+14 83 39 00 cmp dword ptr [rcx],00 0
|
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Mon Sep 12, 2022 9:20 pm Post subject: |
|
|
either do a script that does
Code: |
MyScripts.GameCore.JokerBehaviour:get_IsCheatEnabled:
mov rax,1
ret
|
or use a pointer like:
offset: 0
offset: 0
base address : MyScripts.GameCore.JokerBehaviour:get_IsCheatEnabled+6
_________________
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 |
|
|
eam587 How do I cheat? Reputation: 0
Joined: 12 Sep 2022 Posts: 2
|
Posted: Tue Sep 13, 2022 6:42 pm Post subject: |
|
|
That works great!
How about if I want to use the address in a Symbol that I can use within my table? I've tried a few things, but the wrong address keeps getting put into my symbol.
Note, this is getting the same address from a different bit of code, but similar in the way it gets there.
-OR- can I use the pointer you gave me as a "symbol" in other addresses on the table?
Code: |
define(address,MyScripts.GameDesign.GameLogic.AttackWeaponCollider:Start+39)
define(bytes,48 8B 00 48 8B C8)
[ENABLE]
assert(address,bytes)
alloc(newmem,$1000,MyScripts.GameDesign.GameLogic.AttackWeaponCollider:Start+39)
label(code)
label(return)
label(mygg_3)
registersymbol(mygg_3)
newmem:
code:
mov [mygg_3],rax
mov rax,[rax]
mov rcx,rax
jmp return
mygg_3:
dd
address:
jmp newmem
nop
return:
[DISABLE]
address:
db bytes
// mov rax,[rax]
// mov rcx,rax
dealloc(newmem)
unregistersymbol(mygg_3)
|
|
|
Back to top |
|
|
|
|
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
|
|