
- UID
- 356404
- 帖子
- 1163
- 主題
- 214
- 精華
- 0
- 積分
- 518
- 楓幣
- 2527
- 威望
- 331
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 0
- GP
- 867
- 閱讀權限
- 50
- 在線時間
- 3742 小時
- 註冊時間
- 2022-8-19
- 最後登入
- 2025-2-4
|
//TwMs v246.2 SkillInjection(技能注入)
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048,143ADF306)
label(returnhere)
label(originalcode)
label(exit)
alloc(SkillID,4)
alloc(Timer,4)
alloc(Delay,4)
registersymbol(SkillID)
registersymbol(Delay)
registersymbol(Timer)
SkillID:
dd #162001000
Delay:
dd #50
Timer:
dd 00
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
mov r8,[14783D188]
cmp qword ptr [r8+08],2
jg originalcode
mov r8,[14783A508]
mov r8,[r8+28]
cmp dword ptr [r8+00019300],0
je originalcode
call 143B98CB0
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+00020AD4],r8d
mov eax,0x00000001
xor r8,r8
jmp 143ADF31F
originalcode:
mov eax,0x00000001
xor r8,r8
cmp [rbx+00020AD4],r12d
exit:
jmp returnhere
143ADF306:
jmp newmem
nop
nop
returnhere:
143ADF36F:
jmp 143ADF4B8
nop
143ADF556:
jmp 143ADF5A7
nop
[DISABLE]
143ADF306:
cmp [rbx+00020A8C],r12d
143ADF36F:
db 3B 83 90 0A 02 00 0F 84
143ADF556:
db 0F 87 C8 01 00 00
dealloc(newmem)
dealloc(SkillID)
dealloc(Timer)
dealloc(Delay) |
|