Mohseeen How do I cheat? Reputation: 0
Joined: 28 Aug 2021 Posts: 0
|
Posted: Sun Aug 29, 2021 6:15 am Post subject: help2 |
|
|
Hello guys
I'm playing medal of honor - underground using ePSXe. I've hacked the health in game. The max health is 128.
The problem is, the hack only Lasts for one level. When i move to the next level, the health cheat vanishes and everything goes back to normal. I need a script to keep the infinite healtj cheat working on all levels. Can anybody help me out?
==================================
{ Game : ePSXe.exe
Version:
Date : 2021-08-29
Author : trish
This script does blah blah blah
}
[ENABLE]
aobscan(INJECT,89 1C 08 81 E2 FC FF 1F 00) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
newmem:
code:
mov [eax+ecx],ebx
and edx,001FFFFC
jmp return
INJECT:
jmp newmem
nop 4
return:
registersymbol(INJECT)
[DISABLE]
INJECT:
db 89 1C 08 81 E2 FC FF 1F 00
unregistersymbol(INJECT)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: 0B7E0474
0B7E044B: 81 FA 00 00 80 1F - cmp edx,1F800000
0B7E0451: 74 62 - je 0B7E04B5
0B7E0453: 8B 0D 64 27 EC 00 - mov ecx,[ePSXe.exe+322764]
0B7E0459: F7 C1 00 00 01 00 - test ecx,00010000
0B7E045F: 75 53 - jne 0B7E04B4
0B7E0461: 8B C8 - mov ecx,eax
0B7E0463: 89 C2 - mov edx,eax
0B7E0465: C1 E9 10 - shr ecx,10
0B7E0468: 25 FF FF 00 00 - and eax,0000FFFF
0B7E046D: 8B 0C 8D E0 40 32 01 - mov ecx,[ecx*4+ePSXe.exe+7840E0]
// ---------- INJECTING HERE ----------
0B7E0474: 89 1C 08 - mov [eax+ecx],ebx
// ---------- DONE INJECTING ----------
0B7E0477: 81 E2 FC FF 1F 00 - and edx,001FFFFC
0B7E047D: BB 20 50 BC 0B - mov ebx,0BBC5020
0B7E0482: 03 DA - add ebx,edx
0B7E0484: 8B 03 - mov eax,[ebx]
0B7E0486: 3D 00 00 7E 0B - cmp eax,0B7E0000
0B7E048B: 75 01 - jne 0B7E048E
0B7E048D: C3 - ret
0B7E048E: B8 00 00 7E 0B - mov eax,0B7E0000
0B7E0493: 8B 0C 10 - mov ecx,[eax+edx]
0B7E0496: B8 20 70 FB 0B - mov eax,0BFB7020
}
|
|