|

- UID
- 367343
- 帖子
- 8
- 主題
- 6
- 精華
- 0
- 積分
- 7
- 楓幣
- 32
- 威望
- 5
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 0
- GP
- 5
- 閱讀權限
- 10
- 在線時間
- 33 小時
- 註冊時間
- 2022-11-14
- 最後登入
- 2025-10-3
|
|
本帖最後由 HuyHoàng 於 2025-6-9 22:59 編輯
你经常使用Cheat Engine的ASM功能来实现代码段。
抱歉,我使用了谷歌翻译。
曾经有人用C++写过这段代码,而我用Cheat Engine重新编写了它,以便更容易使用。
[ENABLE]
alloc(putitem, 1024)
putitem:
pushad
mov eax, [0x00FF9734]
add eax, 0x00006750
mov eax, [eax]
add eax, 0x001DF02C
mov eax, [eax]
mov ecx, eax // ecx = val
push 0x0 // p_x 坐标X
push 0x0 // p_y 坐标Y
mov eax, 0x0080A682
call eax
mov ecx, eax
push 0
push 1
push 1
push 0x00000004 // id_item (4 = 图钉)
mov eax, 0x006998B0
call eax
popad
ret
createthread(putitem)
[DISABLE]
dealloc(putitem)
|
|