- UID
- 23018
- 帖子
- 195
- 主題
- 57
- 精華
- 0
- 積分
- 58
- 楓幣
- 401
- 威望
- 51
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 0
- GP
- 0
- 閱讀權限
- 10
- 性別
- 保密
- 在線時間
- 136 小時
- 註冊時間
- 2013-2-8
- 最後登入
- 2014-4-5
|
本帖最後由 約瑞克 於 2013-2-28 09:03 編輯
//TwMs v153.1 ICS 定點生怪
[ENABLE]
RegisterSymbol(ReLifeVac)
Alloc(ReLifeVac, 256)
RegisterSymbol(RelifeXY)
Alloc(RelifeXY,8)
RegisterSymbol(RelifeSwitch)
Alloc(RelifeSwitch, 4)
Label(ReLifeVacXY)
Label(DoRelife)
Label(Return)
RelifeSwitch:
DD 1
ReLifeVac:
Cmp [RelifeSwitch],1
Je ReLifeVacXY
Cmp [RelifeSwitch],2
Je DoRelife
Jmp Return
ReLifeVacXY:
Push Eax
Mov Eax,[00f75bac]
Push [Eax+Fa0]
Pop [RelifeXY]
Push [Eax+Fa4]
Pop [RelifeXY+4]
Pop Eax
Mov [RelifeSwitch],2
Jmp Return
DoRelife:
Cmp [Esp], 00648309 //8b 07 8b cf ff 90 94 00 00 00 50 8b cb
Jne Return
Cmp dword ptr [Esp+18],02
Jne Return
Push Ecx
Mov Eax,[RelifeXY]
Mov [Esp+0c], eax
Mov Eax,[RelifeXY+4]
Mov [Esp+10], eax
Push Eax
Mov Ecx,[00f70f00]
//8b 0d ?? ?? ?? 00 89 7d ?? e8 ?? ?? ?? 00 3b c7
Call 00435171 //ok
//[1/2] 6A 14 B8 ?? ?? ?? 00 E8 ?? ?? ?? 00 33 F6 89 75 F0 89 75 EC 89 75 FC 39 75 08
Mov Ecx, eax
Mov [Esp+20], ecx
Pop Ecx
Jmp Return
Return:
push ebp
mov ebp,esp
push ebx
push esi
Jmp 00A15939
00DC065C:
dd ReLifeVac
[DISABLE]
00DC065C:
dd 00A15934 //55 8B EC 53 56 57 FF 75 20
UnRegisterSymbol(ReLifeVac)
DeAlloc(ReLifeVac)
UnRegisterSymbol(RelifeXY)
DeAlloc(RelifeXY)
UnRegisterSymbol(RelifeSwitch)
DeAlloc(RelifeSwitch)
//Twms v153.1 CRC 怪物不移動
[Enable]
00A19A57:
DB 90 90 31 C0 90 90
[Disable]
00A19A57:
DB 8B 86 B8 02 00 00
麻煩各位大神了 |
|