prt 發表於 2024-8-5 01:20:48

TwMs v263.1 人物左右走

//TwMs v263.1 人物左右走

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 ,rax
jne ICSReturn
mov rax,AutoLRMain
mov ,rax
ICSReturn:
pop rax
jmp GetFocus

AutoLRMain:
cmp , 0
je 140F7A750
inc
mov eax,
cmp eax,
jge GoLeft
add eax,
cmp eax,
jge GoRight
mov ,1
jmp GoLeft

GoLeft:
mov byte ptr ,00
mov ,FFFFFFFF
jmp 140F7A77F

GoRight:
mov byte ptr ,00
mov ,01
jmp 140F7A77F


147B732E0:
DQ AutoLRICSEntry


147B732E0:
DQ GetFocus

DeAlloc(AutoLRMain)
DeAlloc(AutoLRValue)
DeAlloc(AutoLRRange)
DeAlloc(AutoLRICSEntry)

dgqweasdzxc 發表於 2024-8-6 11:04:34


下面 代码的 X地址怎么查找,通过特征码找不到,大大可以告知怎么找吗?
牆值左右走

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 ,rax
jne ICSReturn
mov rax,AutoLRMain
mov ,rax
ICSReturn:
pop rax
jmp GetFocus

AutoLRMain:
call GetWall
mov byte ptr ,00
mov ,eax
xor rcx,rcx
xor rbx,rbx
xor rax,rax
jmp 140F7A77F

GetWall:
call GetChrX
mov rcx,
mov ebx,
sub eax,ebx
cmp eax,32
jle GoRight
call GetChrX
mov rcx,
mov ebx,
sub ebx,eax
cmp ebx,20
jle GoLeft
mov eax,
ret

GoLeft:
Mov ,FFFFFFFF
Mov Eax,FFFFFFFF
Ret

GoRight:
Mov ,1
Mov Eax,1
Ret

GetChrX:
mov rax,
mov rax,
mov rax,
mov rax,
mov rax,
ret


147B732E0:
DQ AutoLRICSEntry


147B732E0:
DQ GetFocus

DeAlloc(AutoLRMain)
DeAlloc(AutoLRValue)
DeAlloc(AutoLRRange)
DeAlloc(AutoLRICSEntry)
頁: [1]
查看完整版本: TwMs v263.1 人物左右走