View previous topic :: View next topic |
Author |
Message |
mindoff Advanced Cheater
Reputation: 0
Joined: 12 Jun 2016 Posts: 96
|
Posted: Sat Jul 01, 2017 10:02 am Post subject: How to write a 64 bit version GetAsyncKeyState ???? |
|
|
I want to hack a game to run with my custom camera control.
Can't find game inner key check function.
So is there a way to check such thing like win32 API or something.
ASM or lua?If CE can,how?Any short example?
Last edited by mindoff on Sun Jul 02, 2017 1:03 am; edited 1 time in total |
|
Back to top |
|
 |
Rudo Advanced Cheater
Reputation: 2
Joined: 27 Jun 2015 Posts: 80
|
|
Back to top |
|
 |
mindoff Advanced Cheater
Reputation: 0
Joined: 12 Jun 2016 Posts: 96
|
Posted: Sat Jul 01, 2017 7:07 pm Post subject: |
|
|
Thanks for the key word.
I will check some example right now.
http://www.cheatengine.org/keypresstut.php
Interesting,x64 use a different way
http://forum.cheatengine.org/viewtopic.php?t=574257
OK,get trouble on 64 bit
DK says
you must allocate some stackspace and pass the parameters in registers
How to do that?
Can anyone write a 64 bit version example of how to use GetAsyncKeyState.
Much appreciate
very strange,when I use
push 20
call GetAsyncKeyState
rax always return
FFFFFA800CC50000
no matter I press space key or not,other VK_KEYCODE value get same result
what does it mean?
It is hard to guess what really mean,and when I write C file
GetAsyncKeyState return 0 or 1,which seems much useful then asm return
OOOOOMMMMMMGGGGGGG
Fxxking amazing,copy from Visual Studio,finally make it correct.
Why life is so hard.Why it just use double register instead of stack.
Anyway I'm done.Waste a lot of time.
Finally done.
|
|
Back to top |
|
 |
PlzSuckMaDuck How do I cheat?
Reputation: 0
Joined: 01 Feb 2019 Posts: 5
|
Posted: Sat Feb 02, 2019 12:57 am Post subject: |
|
|
How did you figured out what to do? I need help with getasynckeystate on 64 bit platform as well.
|
|
Back to top |
|
 |
|