Kona

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

Kona

Post by Kalas »

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: 4426
Joined: Thu Mar 02, 2017 7:48 pm
Reputation: 3423

Re: Kona

Post by STN »

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: 551
Joined: Fri Mar 03, 2017 9:49 am
Reputation: 134

Re: Kona

Post by Kalas »

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.

ShyTwig16
Expert Cheater
Expert Cheater
Posts: 335
Joined: Thu Apr 06, 2017 7:14 pm
Reputation: 19

Re: Kona

Post by ShyTwig16 »

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: 551
Joined: Fri Mar 03, 2017 9:49 am
Reputation: 134

Re: Kona

Post by Kalas »

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

thank you though for your help!

User avatar
Matze500
Cheater
Cheater
Posts: 41
Joined: Fri Mar 17, 2017 1:42 am
Reputation: 2

Re: Kona

Post by Matze500 »

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: 551
Joined: Fri Mar 03, 2017 9:49 am
Reputation: 134

Re: Kona

Post by Kalas »

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