冰楓論壇
標題:
v94.保命符
[打印本頁]
作者:
qkckcqkckcq
時間:
2012-9-26 12:24
標題:
v94.保命符
//------------------------------------------------------------------
//名稱:v94.保命符
//
//Address:8576E8
//
//EIP:KeepLife
//
//原創:aaaddress1
//
//兩段比較,先看看是否需要無敵,若快死了,會斷線。
//------------------------------------------------------------------
[enable]
Registersymbol(nodie)
Alloc(nodie, 4)
Registersymbol(stopblood)
Alloc(stopblood, 4)
Registersymbol(KeepLife)
Alloc(KeepLife, 128)
Label(stop01)
Label(stop)
//------------------------------------------------------------------
//控制部份
//------------------------------------------------------------------
stopblood:
dd 32
//
//在多少血量的時候啟動無敵
//------------------------------------------------------------------
nodie:
dd a
//
//低於多少血,即死亡..
//-------------------------------------------------------------------
KeepLife:
push eax
push edx
mov edx,[nodie]
mov eax,[aa896c]
cmp [eax+958],edx
pop eax
pop edx
jle stop01
push eax
push ecx
mov ecx,[stopblood]
mov eax,[aa896c]
cmp [eax+958],ecx
pop eax
pop ecx
jle stop
jmp 8576EA
//------------------------------------------------------------------
stop:
push eax
mov eax,[aa8944]
mov [eax+374],0
pop eax
jmp 857714
stop01:
push eax
mov eax,[aa8944]
mov [eax+37c],ffffffff
pop eax
jmp 857714
//------------------------------------------------------------------
[disable]
Unregistersymbol(nodie)
dealloc(nodie)
Unregistersymbol(stopblood)
dealloc(stopblood)
Unregistersymbol(KeepLife)
dealloc(KeepLife)
複製代碼
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓