Memory scanning, code injection, debugger internals and other gamemodding related discussion
Kalas
Expert Cheater
Posts: 548 Joined: Fri Mar 03, 2017 9:49 am
Reputation: 134
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?
STN
Founder
Posts: 4454 Joined: Thu Mar 02, 2017 7:48 pm
Reputation: 3594
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.
Kalas
Expert Cheater
Posts: 548 Joined: Fri Mar 03, 2017 9:49 am
Reputation: 134
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.
ShyTwig16
Expert Cheater
Posts: 335 Joined: Thu Apr 06, 2017 7:14 pm
Reputation: 20
Post
by ShyTwig16 » 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.
Kalas
Expert Cheater
Posts: 548 Joined: Fri Mar 03, 2017 9:49 am
Reputation: 134
Post
by Kalas » Sun Mar 19, 2017 7:31 am
Yea I always do look for XMM stack, there was no max health there
thank you though for your help!
Matze500
Cheater
Posts: 41 Joined: Fri Mar 17, 2017 1:42 am
Reputation: 3
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
Kalas
Expert Cheater
Posts: 548 Joined: Fri Mar 03, 2017 9:49 am
Reputation: 134
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
Users browsing this forum: No registered users