冰楓論壇
標題:
TwMS v254.3 SkillInjection(技能注入)
[打印本頁]
作者:
晴曦
時間:
2023-8-2 15:08
標題:
TwMS v254.3 SkillInjection(技能注入)
//TwMS v254.3 SkillInjection(技能注入)
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048,144132830)
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,[146C8E3F0]
cmp qword ptr [r8+08],2
jg originalcode
mov r8,[146C89418]
mov r8,[r8+28]
cmp dword ptr [r8+00019300],0
je originalcode
call 144208910
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+000211D4],r8d
mov eax,0x00000001
xor r8,r8
jmp 144132849
originalcode:
mov eax,0x00000001
xor r8,r8
cmp [rbx+000211D4],r12d
exit:
jmp returnhere
144132830:
jmp newmem
nop
nop
returnhere:
144132889:
jmp 144132A2E
nop
144132ACC:
jmp 144132B20
nop
[DISABLE]
144132830:
cmp [rbx+000211D4],r12d
144132889:
db 3B 83 D8 11 02 00 0F 84
144132ACC:
db 0F 87 D0 01 00 00
dealloc(newmem)
dealloc(SkillID)
dealloc(Timer)
dealloc(Delay)
複製代碼
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓