- UID
- 119417
- 帖子
- 11011
- 主題
- 4333
- 精華
- 0
- 積分
- 5407
- 楓幣
- 14246
- 威望
- 5309
- 存款
- 70
- 贊助金額
- 0
- 推廣
- 0
- GP
- 738
- 閱讀權限
- 150
- 性別
- 保密
- 在線時間
- 1958 小時
- 註冊時間
- 2015-10-18
- 最後登入
- 2024-12-25
|
- //TwMs v259.2 SkillInjection(技能注入)
- [ENABLE]
- //code from here to '[DISABLE]' will be used to enable the cheat
- alloc(newmem,2048,144687B60)
- 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,[147541108]
- cmp qword ptr [r8+08],2
- jg originalcode
- mov r8,[14753CD60]
- mov r8,[r8+28]
- cmp dword ptr [r8+00019300],0
- je originalcode
- call 14476ECF0
- 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+00023D30],r8d
- mov eax,0x00000001
- xor r8,r8
- jmp 144687B79
- originalcode:
- mov eax,0x00000001
- xor r8,r8
- cmp [rbx+00023D30],r12d
- exit:
- jmp returnhere
- 144687B60:
- jmp newmem
- nop
- nop
- returnhere:
- 144687BB9:
- jmp 144687D01
- nop
- 144687DA4:
- jmp 144687E02
- nop
- [DISABLE]
- 144687B60:
- cmp [rbx+00023D30],r12d
- 144687BB9:
- db 3B 83 34 3D 02 00 0F 84
- 144687DA4:
- db 0F 87 1A 02 00 00
- dealloc(newmem)
- dealloc(SkillID)
- dealloc(Timer)
- dealloc(Delay)
複製代碼 |
|