Kona

Memory scanning, code injection, debugger internals and other gamemodding related discussion
Post Reply
User avatar
Kalas
Expert Cheater
Expert Cheater
Posts: 130
Joined: Fri Mar 03, 2017 9:49 am
Reputation: 6

Kona

Post by Kalas » Sat Mar 18, 2017 10:22 pm

Let's say I want to move 100 to xmm5

movss [rsi+000000D8],xmm5


I know how to do it, but there is a better way rather then just mov [rsi+D8],(float)100?

User avatar
STN
Founder
Founder
Posts: 1512
Joined: Thu Mar 02, 2017 7:48 pm
Reputation: 87

Re: Kona

Post by STN » Sat Mar 18, 2017 10:37 pm

movss xmm5, [hundred]

OR
push rcx
mov rcx, [hundred]
mov [rsi+D8], rcx
pop rcx

OR

push 42c80000
pop [rsi+D8]

push [hundred]
pop [rsi+D8]

hundred:
dd (float)100

Not sure what you're trying to do/the problem is but yeah.

User avatar
Kalas
Expert Cheater
Expert Cheater
Posts: 130
Joined: Fri Mar 03, 2017 9:49 am
Reputation: 6

Re: Kona

Post by Kalas » Sat Mar 18, 2017 10:51 pm

I'm trying to move 100 as it's the max HEALTH to xmm5, but I just went with the simple mov [esi+xx],(float)100.

User avatar
TheyCallMeTim13
Cheater
Cheater
Posts: 31
Joined: Fri Mar 03, 2017 12:31 am
Reputation: 1

Re: Kona

Post by TheyCallMeTim13 » Sun Mar 19, 2017 1:13 am

Code: Select all

...
label(fValue)
...
newmem:
  movss xmm5,[fValue]
...
jmp returnhere
fValue:
dd (float)100
...
EDIT:
Also look in other xmm registers often the max. and min. will be stored in one of them as well.

User avatar
Kalas
Expert Cheater
Expert Cheater
Posts: 130
Joined: Fri Mar 03, 2017 9:49 am
Reputation: 6

Re: Kona

Post by Kalas » Sun Mar 19, 2017 7:31 am

Yea I always do look for XMM stack, there was no max health there :P

thank you though for your help!

Matze500
Noobzor
Noobzor
Posts: 7
Joined: Fri Mar 17, 2017 1:42 am
Reputation: 1

Re: Kona

Post by Matze500 » Sun Mar 19, 2017 2:31 pm

Maybe in rsi is the player or health structure. Is maybe there the max health stored ?

memoryview->tools->dissect data/structure-> enter rsi here

Greets Matze

User avatar
Kalas
Expert Cheater
Expert Cheater
Posts: 130
Joined: Fri Mar 03, 2017 9:49 am
Reputation: 6

Re: Kona

Post by Kalas » Sun Mar 19, 2017 3:03 pm

Health is not shared which means there is no need to find the Cap Health or cmp it, I simply want to move 100 in xmm5, but I already made a Cheat Table thank you :)

Post Reply

Who is online

Users browsing this forum: No registered users