冰楓論壇
標題:
TwMS v255.2 SkillInjection(技能注入)
[打印本頁]
作者:
晴曦
時間:
2023-9-13 18:45
標題:
TwMS v255.2 SkillInjection(技能注入)
//TwMS v255.2 SkillInjection(技能注入)
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048,1443F44F0)
label(returnhere)
label(originalcode)
label(exit)
alloc(SkillID,4)
alloc(Timer,4)
alloc(Delay,4)
registersymbol(SkillID)
registersymbol(Delay)
registersymbol(Timer)
SkillID:
dd #1221011
Delay:
dd #50
Timer:
dd 00
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
mov r8,[147003E28]
cmp qword ptr [r8+08],2
jg originalcode
mov r8,[146FFEAE0]
mov r8,[r8+28]
cmp dword ptr [r8+00019300],0
je originalcode
call 1444CB040
mov r8d,eax
sub r8d,dword ptr [Timer]
cmp r8d,dword ptr [Delay]
jl originalcode
mov dword ptr [Timer],eax
mov r8d,[SkillID]
mov dword ptr [rbx+00021658],r8d
mov eax,0x00000001
xor r8,r8
jmp 1443F4509
originalcode:
mov eax,0x00000001
xor r8,r8
cmp [rbx+00021658],r12d
exit:
jmp returnhere
1443F44F0:
jmp newmem
nop
nop
returnhere:
1443F4549:
jmp 1443F4691
nop
1443F472F:
jmp 1443F4783
nop
[DISABLE]
1443F44F0:
cmp [rbx+00021658],r12d
1443F4549:
db 3B 83 5C 16 02 00 0F 84
1443F472F:
db 0F 87 DD 01 00 00
dealloc(newmem)
dealloc(SkillID)
dealloc(Timer)
dealloc(Delay)
複製代碼
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓