冰楓論壇

標題: 求V215.2 自動洗內淺 [打印本頁]

作者: mu861118    時間: 2019-4-8 01:43
標題: 求V215.2 自動洗內淺


作者: keosa999    時間: 2019-4-8 01:43
//TwMS v215.2 CRC 自動洗內潛

//Update from GMS

//特殊:0 稀有:1 罕見:2 傳說:3

[Enable]

alloc(Hook,128)

label(Return)

label(Exit)

label(ResetAbility)

alloc(timer,4)

registersymbol(ResetAbilitySet)

alloc(ResetAbilitySet,4)

registersymbol(ResetAbilitySW)

alloc(ResetAbilitySW,4)



ResetAbilitySW:

dd 3

ResetAbilitySet:

dd 3



Hook:

mov ecx,[0393E634]

pushad

cmp [ResetAbilitySW],0

je Exit

call 02674860

cmp eax,[ResetAbilitySet]

je Exit



call 0241ACD0

mov edx,eax

sub edx,[timer]

cmp edx,64 // 1F4=500毫秒

jl Exit

mov [timer],eax



ResetAbility:

mov ecx,[0393E634]

push 00

push 00

push 00

push 00

call 026F3340 //83 78 ?? 00 74 08 85 c9,[Head]

Exit:

popad

jmp Return



02357E03:

jmp Hook

nop

Return:



026F34F4:

mov eax,6



02316ED0:

ret 4



[Disable]

02357E03:

mov ecx,[0393E634]



026F34F4:

call 0243E340



02316ED0:

push ebp

mov ebp,esp



dealloc(Hook)

dealloc(timer)




歡迎光臨 冰楓論壇 (https://bingfong.com/) Powered by 冰楓