冰楓論壇
標題:
TwMs v263.1 人物左右走
[打印本頁]
作者:
prt
時間:
2024-8-5 01:20
標題:
TwMs v263.1 人物左右走
//TwMs v263.1 人物左右走
[ENABLE]
Alloc(AutoLRICSEntry,128,140F7A750)
Alloc(AutoLRRange,08,140F7A750)
Alloc(AutoLRMain,256,140F7A750)
Alloc(AutoLRValue,08,140F7A750)
Label(ICSReturn)
Label(GoLeft)
Label(GoRight)
AutoLRRange:
DQ A //16進制 A=10 設置0為不左右走
AutoLRICSEntry:
push rax
mov rax,140F7A750
cmp [rsp+08],rax
jne ICSReturn
mov rax,AutoLRMain
mov [rsp+08],rax
ICSReturn:
pop rax
jmp GetFocus
AutoLRMain:
cmp [AutoLRRange], 0
je 140F7A750
inc [AutoLRValue]
mov eax,[AutoLRRange]
cmp eax,[AutoLRValue]
jge GoLeft
add eax,[AutoLRRange]
cmp eax,[AutoLRValue]
jge GoRight
mov [AutoLRValue],1
jmp GoLeft
GoLeft:
mov byte ptr [rbp-0A],00
mov [rbp+000000E0],FFFFFFFF
jmp 140F7A77F
GoRight:
mov byte ptr [rbp-0A],00
mov [rbp+000000E0],01
jmp 140F7A77F
147B732E0:
DQ AutoLRICSEntry
[DISABLE]
147B732E0:
DQ GetFocus
DeAlloc(AutoLRMain)
DeAlloc(AutoLRValue)
DeAlloc(AutoLRRange)
DeAlloc(AutoLRICSEntry)
複製代碼
作者:
dgqweasdzxc
時間:
2024-8-6 11:04
下面 代码的 X地址怎么查找,通过特征码找不到,大大可以告知怎么找吗?
牆值左右走
[ENABLE]
Alloc(AutoLRICSEntry,128,140F7A750)
Alloc(AutoLRMain,256,140F7A750)
Alloc(MyLR,08,140F7A750)
Label(GetWall)
Label(GetChrX)
Label(ICSReturn)
Label(GoLeft)
Label(GoRight)
MyLR:
DQ 1
AutoLRICSEntry:
push rax
mov rax,140F7A750
cmp [rsp+08],rax
jne ICSReturn
mov rax,AutoLRMain
mov [rsp+08],rax
ICSReturn:
pop rax
jmp GetFocus
AutoLRMain:
call GetWall
mov byte ptr [rbp-0A],00
mov [rbp+000000E0],eax
xor rcx,rcx
xor rbx,rbx
xor rax,rax
jmp 140F7A77F
GetWall:
call GetChrX
mov rcx,[X]
mov ebx,[rcx+18]
sub eax,ebx
cmp eax,32
jle GoRight
call GetChrX
mov rcx,[X]
mov ebx,[rcx+20]
sub ebx,eax
cmp ebx,20
jle GoLeft
mov eax,[MyLR]
ret
GoLeft:
Mov [MyLR],FFFFFFFF
Mov Eax,FFFFFFFF
Ret
GoRight:
Mov [MyLR],1
Mov Eax,1
Ret
GetChrX:
mov rax,[14785AB18]
mov rax,[rax+00019E98]
mov rax,[rax+D8]
mov rax,[rax+58]
mov rax,[rax+80]
ret
147B732E0:
DQ AutoLRICSEntry
[DISABLE]
147B732E0:
DQ GetFocus
DeAlloc(AutoLRMain)
DeAlloc(AutoLRValue)
DeAlloc(AutoLRRange)
DeAlloc(AutoLRICSEntry)
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓