冰楓論壇
標題:
TwMS v262.5 SkillInjection(技能注入)
[打印本頁]
作者:
晴曦
時間:
2024-7-17 17:44
標題:
TwMS v262.5 SkillInjection(技能注入)
//TwMS v262.5 SkillInjection(技能注入)
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048,144B14540)
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,[147B57C30]
cmp qword ptr [r8+08],2
jg originalcode
mov r8,[147B47928]
mov r8,[r8+28]
cmp dword ptr [r8+00019300],0
je originalcode
call 144C09810
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+00008A0C],r8d
mov eax,0x00000001
xor r8,r8
jmp 144B14559
originalcode:
mov eax,0x00000001
xor r8,r8
cmp [rbx+00008A0C],r12d
exit:
jmp returnhere
144B14540:
jmp newmem
nop
nop
returnhere:
144B14599:
jmp 144B146E1
nop
144B14784:
jmp 144B147DE
nop
[DISABLE]
144B14540:
cmp [rbx+00008A0C],r12d
144B14599:
db 3B 83 10 8A 00 00 0F 84
144B14784:
db 0F 87 16 02 00 00
dealloc(newmem)
dealloc(SkillID)
dealloc(Timer)
dealloc(Delay)
複製代碼
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓