| View previous topic :: View next topic |
| Author |
Message |
brisingr Cheater
Reputation: 0
Joined: 23 Jan 2016 Posts: 39
|
Posted: Wed Oct 05, 2016 3:11 pm Post subject: help me plz |
|
|
I'm having some troubles hacking silenthill homecoming.
I've found the value for the health. Unfortunately it's the same instruction for the enemy units and I don't know how to modify that's the code:
| Code: | [ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
cmp [esi+128],02639B40//place your code here
jne originalcode
//what should I write here?
originalcode:
movss [esi+00000164],xmm0
exit:
jmp returnhere
"g_SilentHill.sgl"+31F11C:
jmp newmem
nop
nop
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"g_SilentHill.sgl"+31F11C:
movss [esi+00000164],xmm0
//Alt: db F3 0F 11 86 64 01 00 00
|
Plz can you explain me how the movss instruction works and how can I hack this?
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Wed Oct 05, 2016 4:54 pm Post subject: |
|
|
| Code: | mov [esi+00000164],(float)999
jmp returnhere |
|
|
| Back to top |
|
 |
brisingr Cheater
Reputation: 0
Joined: 23 Jan 2016 Posts: 39
|
Posted: Thu Oct 06, 2016 6:11 am Post subject: |
|
|
| Zanzer wrote: | | Code: | mov [esi+00000164],(float)999
jmp returnhere |
|
Ty, it works fine!
|
|
| Back to top |
|
 |
|