TwMs v224.1 CRC 視野調整(已修正)
本帖最後由 消逝的星空 於 2020-4-4 18:57 編輯應該沒更新錯.. 有錯的話 小力鞭QQ//TwMs v224.1 CRC 視野調整
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
02AD6CD3:
jmp Hook
db 90
Return:
02AD6CD3:
mov ecx,
dealloc(hook) 本帖最後由 btb 於 2020-4-4 18:48 編輯
Function:
mov ecx,//這裡寄存器寫錯必須改為eax
test eax,eax
這樣檢測才有意義
參考位址:
025A7646 - A1 08212204 - mov eax, { }
025A764B - 85 C0 - test eax,eax
025A764D - 75 0A - jne 025A7659
025A764F - 68 03400080 - push 80004003 { -2147467261 }
025A7654 - E8 37C4C600 - call 03213A90
025A7659 - 8B 08 - mov ecx,
025A765B - 68 E8030000 - push 000003E8 { 1000 }
025A7660 - 50 - push eax
025A7661 - FF 91 B4000000 - call dword ptr
btb 發表於 2020-4-4 18:45 static/image/common/back.gif
Function:
mov ecx,//這裡寄存器寫錯必須改為eax
test eax,eax
那不好意思 請問一下 假如
也可用 ecx,ecx 去弄嘛
參考位址:
01759B13 - 8B 0D 08212204 - mov ecx, { }
01759B19 - 85 C9 - test ecx,ecx
01759B1B - 75 0A - jne 01759B27
01759B1D - 68 03400080 - push 80004003 {-247467261}
01759B22 - E8 699FAB01 - call 03213A90 消逝的星空 發表於 2020-4-4 19:05 static/image/common/back.gif
那不好意思 請問一下 假如
也可用 ecx,ecx 去弄嘛
參考位址:
可以把eax跟ecx調換過來就行了,但我不推薦,我推薦的位址基本上已經是照抄的最佳位址了
頁:
[1]