HuyHoàng 發表於 2025-6-9 22:51:19

TW BNB V124 在地图上撒钉子

本帖最後由 HuyHoàng 於 2025-6-9 22:59 編輯

你经常使用Cheat Engine的ASM功能来实现代码段。
抱歉,我使用了谷歌翻译。
曾经有人用C++写过这段代码,而我用Cheat Engine重新编写了它,以便更容易使用。


alloc(putitem, 1024)
putitem:
pushad
mov eax,
add eax, 0x00006750
mov eax,
add eax, 0x001DF02C
mov 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)

dealloc(putitem)





頁: [1]
查看完整版本: TW BNB V124 在地图上撒钉子