冰楓論壇
標題:
TwMS v255.3 SkillInjection(技能注入)
[打印本頁]
作者:
晴曦
時間:
2023-9-20 22:10
標題:
TwMS v255.3 SkillInjection(技能注入)
//TwMS v255.3 SkillInjection(技能注入)
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048,1443F4520)
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,[147004E38]
cmp qword ptr [r8+08],2
jg originalcode
mov r8,[146FFFAF0]
mov r8,[r8+28]
cmp dword ptr [r8+00019300],0
je originalcode
call 1444CB070
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 1443F4539
originalcode:
mov eax,0x00000001
xor r8,r8
cmp [rbx+00021658],r12d
exit:
jmp returnhere
1443F4520:
jmp newmem
nop
nop
returnhere:
1443F4579:
jmp 1443F46C1
nop
1443F475F:
jmp 1443F47B3
nop
[DISABLE]
1443F4520:
cmp [rbx+00021658],r12d
1443F4579:
db 3B 83 5C 16 02 00 0F 84
1443F475F:
db 0F 87 DD 01 00 00
dealloc(newmem)
dealloc(SkillID)
dealloc(Timer)
dealloc(Delay)
複製代碼
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓