a384282313 发表于 2023-3-12 18:47:50

qqwa3210 发表于 2023-3-12 23:48:53

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
    <CheatEntry>
      <ID>1120087020</ID>
      <Description>"锁耐久"</Description>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>
define(renww_call,14420D9C0)//人物CALL
define(dq_nj,14B8)//当前耐久
define(wuqi_py,5378)//武器偏移
alloc(newmem,2048,13FDB00D4)
label(returnhere)
label(originalcode)
label(exit)

newmem:
push rax
push rbx
push rcx
push rdx
push rdi
push rsi
sub rsp,70
call renww_call
test rax,rax
je tf
mov rdi,dq_nj
mov rbx,rax
mov eax,#60
add eax,04
xor eax,1451C10B0
mov rsi,wuqi_py
mov rcx,
test rcx,rcx
je tf
test rcx,rcx
je tf
je tf
mov ,eax
mov rcx,
test rcx,rcx
je tf
mov ,eax
mov rcx,
test rcx,rcx
je tf
mov ,eax
mov rcx,
test rcx,rcx
je tf
mov ,eax
mov rcx,
test rcx,rcx
je tf
mov ,eax
mov rcx,
test rcx,rcx
je tf
mov ,eax
tf:
add rsp,70
pop rsi
pop rdi
pop rdx
pop rcx
pop rbx
pop rax

originalcode:
ret
add ,al
add ,al

exit:
jmp returnhere

13FDB00D4:
jmp newmem
returnhere:


dealloc(newmem)
13FDB00D4:
ret
add ,al
add ,al
</AssemblerScript>
    </CheatEntry>
</CheatEntries>
</CheatTable>

a384282313 发表于 2023-3-13 23:46:01

页: [1]
查看完整版本: 求个能用的锁武器耐久CT