游戏达人
  
- 贡献度
- 96
- 金元
- 26332
- 积分
- 3017
- 精华
- 0
- 注册时间
- 2009-8-4

|
<?xml version="1.0" encoding="utf-8"?><CheatTable> <CheatEntries> <CheatEntry> <ID>686</ID> <Description>"Fog of War (覆盖更多参数)"</Description> <VariableType>Auto Assembler Script</VariableType> <AssemblerScript>[ENABLE]//GhostOfTsushima.exe+923B04 - F3 42 0F11 B4 A3 A8430000 - movss [rbx+r12*4+000043A8],xmm6aobscanmodule(fogofwar,GhostOfTsushima.exe,F3 42 0F 11 B4 A3 A8 43 00 00) // 扫描目标指令alloc(newmem,$1000,fogofwar)label(code)label(return)label(IsFogParam) // 标记是否为迷雾参数的判断newmem: // 检查r12是否在目标索引范围内(示例:40-42,可根据实际测试调整) cmp r12,40 // 最小索引 jl code // 小于40,跳回原代码(不修改) cmp r12,42 // 最大索引 jg code // 大于42,跳回原代码(不修改) IsFogParam: // 若在40-42范围内,修改参数 push r13 mov r13,(float)550 // 迷雾参数值(可调整,数值越大可能迷雾越淡) movq xmm6,r13 // 将修改后的值写入xmm6寄存器 movss [rbx+r12*4+000043A8],xmm6 // 写入内存 pop r13 jmp returncode: // 不在范围内,执行原指令 movss [rbx+r12*4+000043A8],xmm6 jmp returnfogofwar: jmp newmem nop 5return:registersymbol(fogofwar)[DISABLE]fogofwar: db F3 42 0F 11 B4 A3 A8 43 00 00 // 恢复原指令unregistersymbol(fogofwar)dealloc(newmem)</AssemblerScript> </CheatEntry> </CheatEntries></CheatTable>
|
|