HP值一击KO 2P:
{ Game : SamuraiShodown-Win64-Shipping.exe
Version:
Date : 2022-12-31
Author : pc
This script does blah blah blah
}
define(address,"SamuraiShodown-Win64-Shipping.exe"+861B51)
define(bytes,29 B7 F4 06 00 00)
[ENABLE]
assert(address,bytes)
alloc(newmem,$1000,"SamuraiShodown-Win64-Shipping.exe"+861B51)
label(code)
label(return)
newmem:
cmp [rdi+0000020],1//开启之后游戏崩坏,请勿尝试!
jne code
mov [rdi+000006F4],(int)65536000
jmp return
code:
address:
jmp newmem
nop
return:
[DISABLE]
address:
db bytes
// sub [rdi+000006F4],esi
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: SamuraiShodown-Win64-Shipping.exe+861B51
SamuraiShodown-Win64-Shipping.exe+861B26: 7E 13 - jle SamuraiShodown-Win64-Shipping.exe+861B3B
SamuraiShodown-Win64-Shipping.exe+861B28: 48 8B 87 E8 06 00 00 - mov rax,[rdi+000006E8]
SamuraiShodown-Win64-Shipping.exe+861B2F: 48 0F BA E8 02 - bts rax,02
SamuraiShodown-Win64-Shipping.exe+861B34: 48 89 87 E8 06 00 00 - mov [rdi+000006E8],rax
SamuraiShodown-Win64-Shipping.exe+861B3B: 48 8D 8F 18 0C 00 00 - lea rcx,[rdi+00000C18]
SamuraiShodown-Win64-Shipping.exe+861B42: E8 59 D5 00 00 - call SamuraiShodown-Win64-Shipping.exe+86F0A0
SamuraiShodown-Win64-Shipping.exe+861B47: 84 C0 - test al,al
SamuraiShodown-Win64-Shipping.exe+861B49: 75 37 - jne SamuraiShodown-Win64-Shipping.exe+861B82
SamuraiShodown-Win64-Shipping.exe+861B4B: C1 E6 10 - shl esi,10
SamuraiShodown-Win64-Shipping.exe+861B4E: 48 8B CF - mov rcx,rdi
// ---------- INJECTING HERE ----------
SamuraiShodown-Win64-Shipping.exe+861B51: 29 B7 F4 06 00 00 - sub [rdi+000006F4],esi
// ---------- DONE INJECTING ----------
SamuraiShodown-Win64-Shipping.exe+861B57: 48 8B 07 - mov rax,[rdi]
SamuraiShodown-Win64-Shipping.exe+861B5A: FF 90 F0 0D 00 00 - call qword ptr [rax+00000DF0]
SamuraiShodown-Win64-Shipping.exe+861B60: 4C 8D 44 24 30 - lea r8,[rsp+30]
SamuraiShodown-Win64-Shipping.exe+861B65: C7 44 24 40 00 00 00 00 - mov [rsp+40],00000000
SamuraiShodown-Win64-Shipping.exe+861B6D: 48 8D 54 24 40 - lea rdx,[rsp+40]
SamuraiShodown-Win64-Shipping.exe+861B72: 89 44 24 30 - mov [rsp+30],eax
SamuraiShodown-Win64-Shipping.exe+861B76: 48 8D 8F F4 06 00 00 - lea rcx,[rdi+000006F4]
SamuraiShodown-Win64-Shipping.exe+861B7D: E8 CE 36 03 00 - call SamuraiShodown-Win64-Shipping.exe+895250
SamuraiShodown-Win64-Shipping.exe+861B82: 48 8B 5C 24 38 - mov rbx,[rsp+38]
SamuraiShodown-Win64-Shipping.exe+861B87: 48 8B 74 24 48 - mov rsi,[rsp+48]
}