ce吧 关注:196,983贴子:3,802,921
  • 7回复贴,共1

ce角本代码怎么用易语言写

只看楼主收藏回复

ce代码用易语言怎么写求助
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
push eax
mov eax, [esi+4]
cmp eax, 9
je set_edx
cmp eax, F
je set_edx
jmp skip // 直接跳到正常代码
set_edx:
mov edx,-1
skip:
pop eax
mov [esi+0x74], edx
mov ecx, [esi+0x58]
exit:
jmp returnhere
"666.exe"+5AEA5:
jmp newmem
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"666.exe"+5AEA5:
db 89 56 74 8B 4E 58
//mov [esi+74],edx
//mov ecx,[esi+58]


IP属地:山东1楼2025-03-31 15:34回复
    非常简单


    IP属地:河北来自Android客户端2楼2025-03-31 17:34
    回复
      2025-08-05 21:31:08
      广告
      不感兴趣
      开通SVIP免广告
      你知道AI吗?


      IP属地:陕西来自Android客户端3楼2025-03-31 22:16
      回复
        你了解原理就知道该怎么写了


        IP属地:山西来自Android客户端5楼2025-04-01 12:56
        回复
          1.获取进程ID 666..exe
          2.申请内存空白地址
          3.写内存字节集 开启 还原
          非常简单操作🤣


          IP属地:河北来自Android客户端6楼2025-04-01 20:24
          回复
            大佬 求分享加速器


            IP属地:浙江7楼2025-07-20 16:52
            回复
              .版本 2
              .子程序 内存补丁_启用
              .局部变量 进程ID, 整数型
              .局部变量 内存地址, 整数型
              .局部变量 跳转偏移, 整数型
              ' 获取目标进程ID(示例值,实际需动态获取)
              进程ID = 取进程ID ("666.exe")
              ' 计算跳转偏移(0x5AEA5为原指令地址)
              内存地址 = 申请内存 (2048, 进程ID)
              跳转偏移 = 内存地址 - (十六进制("5AEA5") + 5)
              ' 写入跳转指令(E9为jmp指令码)
              写内存字节集 (进程ID, 十六进制("5AEA5"), { 233 } + 到字节集 (跳转偏移) + { 144 })
              ' 写入补丁代码
              写内存字节集 (进程ID, 内存地址, {
              ' push eax
              80,
              ' mov eax,[esi+4]
              139, 70, 4,
              ' cmp eax,9
              131, 248, 9,
              ' je set_edx (偏移量需计算)
              116, 6,
              ' cmp eax,0F
              131, 248, 15,
              ' je set_edx
              116, 3,
              ' jmp skip
              235, 9,
              ' set_edx: mov edx,-1
              186, 255, 255, 255, 255,
              ' skip: pop eax
              88,
              ' mov [esi+74],edx
              137, 86, 116,
              ' mov ecx,[esi+58]
              139, 78, 88,
              ' jmp return
              233 } + 到字节集(十六进制("5AEA5") + 6 - (内存地址 + 上述代码长度) - 5))
              .子程序 内存补丁_禁用
              .局部变量 进程ID, 整数型
              进程ID = 取进程ID ("666.exe")
              ' 恢复原指令(89 56 74 8B 4E 58)
              写内存字节集 (进程ID, 十六进制("5AEA5"), { 137, 86, 116, 139, 78, 88 })
              ' 释放申请的内存
              释放内存 (内存地址, 进程ID)
              应该是这样写的。


              IP属地:重庆9楼2025-07-20 21:58
              收起回复