btb 發表於 2020-11-4 14:27:02

TwMS v229.4 CRC 視野調整(Zoom)

//TwMS v229.4 CRC 視野調整(Zoom)
//Zoom

Alloc(Hook,123)
Label(Function)
Label(Return)
Label(Increase)
Label(Decrease)
Label(Reset)
Label(Exit)

Alloc(value,4)
value:
dd 000003E8

Hook:
pushad
cmp ebx,004E0000 //放大 Numpad +
je Increase
cmp ebx,004A0000 //縮小 Numpad -
je Decrease
cmp ebx,00370000 //復原 Numpad *
je Reset
Exit:
popad
mov ecx,
jmp Return

Increase:
add ,00000014
jmp Function

Decrease:
sub ,00000014
jmp Function

Reset:
mov ,000003E8

Function:
mov eax,
test eax,eax
je Exit
mov ecx,
push
push eax
call dword ptr
jmp Exit

02D6BAA3:
jmp Hook
db 90
Return:


02D6BAA3:
mov ecx,

dealloc(hook)

頁: [1]
查看完整版本: TwMS v229.4 CRC 視野調整(Zoom)