[Enable]
registersymbol(FastRecoverMP)
alloc(FastRecoverMP,128)
registersymbol(MPCounter)
alloc(MPCounter,4)
registersymbol(SetMPCounter)
alloc(SetMPCounter,4)
label(DoNormal)
label(MPCheck)
SetMPCounter:
dd 5 //次數
FastRecoverMP:
cmp [MPCounter],0
je MPCheck
dec [MPCounter]
cmp eax,00000001
jmp 009218CB
MPCheck:
cmp eax,00002710
jna DoNormal
push eax
mov eax,[SetMPCounter]
dec eax
mov [MPCounter],eax
pop eax
jmp DoNormal
DoNormal:
cmp eax,00002710
jmp 009218CB
009218c6:
jmp FastRecoverMP
[Disable]
009218c6:
cmp eax,00002710
dealloc(FastRecoverMP)
dealloc(MPCounter)
dealloc(SetMPCounter)
unregistersymbol(FastRecoverMP)
2014年2月7日 星期五
TwMS v1.46.3_CRC_快速恢復MP 8.5秒
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言