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