Last active
August 29, 2015 14:22
-
-
Save jndok/6dc41e2a35e3f486e8b3 to your computer and use it in GitHub Desktop.
DS:PTDE Steam Version - Infinite Stamina Hax
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;/* DS:PTDE (New Steam Version) - Infinite Stamina */ | |
;/* | |
;* This version is working fine, but may need some tweaking | |
;* for specific cases. Maybe I'll release a more complete | |
;* hack. | |
;* | |
;* Please use respectfully. | |
;* This is ready to be inject with CE. (Remove the semi-colons first!) | |
;*/ | |
alloc(newmem,2048) | |
label(returnhere) | |
label(originalcode) | |
label(exit) | |
newmem: | |
push eax | |
push ebx | |
push ecx | |
mov eax, ["DARKSOULS.exe"+F7A644] ;// player check | |
mov ebx, [eax+3c] | |
cmp ebx, edx | |
pop ecx | |
pop ebx | |
pop eax | |
je exit ;// if player, skip stamina calculus | |
originalcode: | |
mov [edx+000002E4],eax | |
exit: | |
jmp returnhere | |
"DARKSOULS.exe"+A6662A: | |
jmp newmem | |
nop | |
returnhere: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment