冰楓論壇
標題:
TwMS v230.2 ICS 皇家守護
[打印本頁]
作者:
prt
時間:
2020-12-16 19:11
標題:
TwMS v230.2 ICS 皇家守護
// TwMS v230.2 ICS 皇家守護
[ENABLE]
Registersymbol(RoyalguardSW)
Alloc(Royalguardhook,128)
Alloc(RoyalguardSW,4)
Label(Royalguard)
Label(RoyalguardSWon)
Label(RoyalguardSWoff)
Label(Royalguardon)
Label(Royalguardoff)
Royalguardhook:
cmp [esp],00B9E256
jne GetFocus
mov [esp],Royalguard
jmp GetFocus
RoyalguardSW:
DD 01//1=開,0=關
Royalguard:
cmp [RoyalguardSW],1
je RoyalguardSWon
cmp [RoyalguardSW],0
je RoyalguardSWoff
jmp 00B9E256
RoyalguardSWon:
call Royalguardon
jmp 00B9E256
RoyalguardSWoff:
call Royalguardoff
jmp 00B9E256
Royalguardon:
push eax
mov eax,[042DEB04]
mov [eax+5694],C691E02A
mov [eax+5694+4],5E348F01
mov [eax+5694+8],9A166F82
mov [eax+5694+C],667F8358
mov [eax+5694+10],B32BADAF
mov [eax+5694+14],62124149
pop eax
ret
Royalguardoff:
push eax
mov eax,[042DEB04]
mov [eax+5694],AECFF36D
mov [eax+5694+4],6D767F9B
mov [eax+5694+8],6E198FB6
mov [eax+5694+C],5D252455
mov [eax+5694+10],AAE92922
mov [eax+5694+14],72256FC4
pop eax
ret
0458DE18:
DD Royalguardhook
[DISABLE]
0458DE18:
DD GetFocus
DeAlloc(Royalguardhook)
DeAlloc(RoyalguardSW)
UnRegistersymbol(RoyalguardSW)
複製代碼
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓