Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ENABLE]
- //code from here to '[DISABLE]' will be used to enable the cheat
- alloc(LightMem,256)
- label(LightStart)
- registersymbol(LightStart)
- label(LightReturn)
- label(LightDat)
- registersymbol(LightDat)
- "DARKSOULS.exe"+9A66E3:
- LightStart:
- jmp LightMem
- db 90 90 90
- LightReturn:
- LightMem:
- movq [ecx+00000168],xmm3
- push edi
- mov edi,[LightDat+0]
- mov [ecx+00000150],edi //red
- mov edi,[LightDat+4]
- mov [ecx+00000154],edi //green
- mov edi,[LightDat+8]
- mov [ecx+00000158],edi //blue
- mov edi,[LightDat+c]
- mov [ecx+0000015c],edi //Saturation
- mov edi,[LightDat+10]
- mov [ecx+00000160],edi //Hue info?
- mov edi,[LightDat+14]
- mov [ecx+00000164],edi
- mov edi,[LightDat+18]
- mov [ecx+00000168],edi
- pop edi
- jmp LightReturn
- LightDat:
- db 00 00 80 3F 00 00 80 3F 00 00 80 3F 00 00 80 3F 00 00 80 3F 00 00 80 3F 00 00 80 3F
- [DISABLE]
- //code from here till the end of the code will be used to disable the cheat
- LightStart:
- db 66 0F D6 99 68 01 00 00
- dealloc(LightMem)
- unregistersymbol(LightStart)
- unregistersymbol(LightDat)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement