冰楓論壇

標題: TwMS v233.2 CRC 視野調整 [打印本頁]

作者: rhg59321    時間: 2021-4-7 14:24
標題: TwMS v233.2 CRC 視野調整
// TwMS v233.2 CRC 視野調整
[Enable]
Alloc(Hook,123)
Alloc(Value,04)
Label(Function)
Label(Increase)
Label(Decrease)
Label(Reset)
Label(Exit)

Value:
DD 3E8 //Default Value

Hook:
pushad
cmp ebx,004E0000 //Numpad +
je Increase
cmp ebx,004A0000 //Numpad -
je Decrease
cmp ebx,00370000 //Numpad *
je Reset

Exit:
popad
call 01EE8F50
jmp 02E7A873+5

Increase:
add [Value],14
jmp Function

Decrease:
sub [Value],14
jmp Function

Reset:
mov [Value],3E8

Function:
mov eax,[04741558]
test eax,eax
je Exit
mov ecx,[eax]
push [Value]
push eax
call dword ptr [ecx+000000B4]
jmp Exit

02E7A873:
jmp Hook

[Disable]
02E7A873:
call 01EE8F50

DeAlloc(Hook)
DeAlloc(Value)






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