我们右键--选中血量地址----选中什么访问了这个地址--- 我们找到 mov开头的 一般都是mov ebp或者edi什么的 然后(ecx什么的+一个数值)
MOV等于移动 然后括号前面或者后面的 就是血量 ecx什么的+一个数值 就是什么地址加上偏移
公式:血量=地址+偏移 然而这个地址不是静态的 他是会变动的 所以我们要继续通过这个数值搜索 一步一步找到静态地址 方便快捷就用指针扫描
回到 什么访问了这个地址 然后找到了 点中他 选中反汇编 进去在菜单栏选中工具 -自动汇编 他会弹出个窗口 我们选中模板 在选中自动汇编框架代码 然后选中代码注入
[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
//place your code here
originalcode: 这是我们选中代码注入后就变成这样了 这里是我们要修改的地方
mov [eax],ecx
nop 我们NOP 然后在xor加上//
//xor eax,eax 我们发现他下面有个xor xor你们可以百度下什么意思 就是有个数值对比 1 通过 0不通过这样
pop esi
exit:
jmp returnhere
"wf.exe"+610AAF:
jmp newmem
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"wf.exe"+610AAF:
mov [eax],ecx
xor eax,eax
pop esi
//Alt: db 89 08 33 C0 5E