I'll be honest with ya, I'm out of ideas
I found my Y coord which in my case was float 10, I looked what accesses found enemies shared code but the value that I see is different, It's not Y I think It's the X coord but the issue is that doing the script exactly as did on The Evil Within 2, credited you and Chris ofc
But If you can check it out and tell me If you managed to do something
, here is the AOB and the full code:
Code: Select all
{ Game : NewColossus_x64vk.exe
Version:
Date : 2017-10-29
Author : Kalas
This script does blah blah blah
}
[ENABLE]
aobscanmodule(_CoordAccessesAll,NewColossus_x64vk.exe,0F 28 10 0F 10 4F 10 89)
alloc(newmem,$1000,NewColossus_x64vk.exe)
alloc(Store, 256)
registersymbol(XPos)
registersymbol(YPos)
registersymbol(ZPos)
registersymbol(SaveF)
registersymbol(LoadF)
label(code)
label(return)
label(XPos)
label(YPos)
label(ZPos)
label(SaveF)
label(LoadF)
label(Save)
label(Load)
Store:
XPos:
dd 0
YPos:
dd 0
ZPos:
dd 0
SaveF:
dd 0
LoadF:
dd 0
newmem:
cmp dword ptr [SaveF], 1
je Save
cmp dword ptr [LoadF], 1
je Load
jmp code
Save:
cmp [rax+38], 7F7F0009 // Player
je code // Save Enemies Coords
mov [SaveF], 0
push rbx
mov rbx, [rax+00]
mov [XPos], rbx
mov rbx, [rax+04]
mov [YPos], rbx
mov rbx, [rax+08]
mov [ZPos], rbx
pop rbx
jmp code
Load:
cmp [rax+38], 7F7F0009 // Player
jne code // Load Enemies Coords
push rbx
mov rbx, [XPos]
mov [rax+00], rbx
mov rbx, [YPos]
mov [rax+04], rbx
mov rbx, [ZPos]
mov [rax+08], rbx
pop rbx
jmp code
code:
movaps xmm2,[rax]
movups xmm1,[rdi+10]
jmp return
_CoordAccessesAll:
jmp newmem
nop
nop
return:
registersymbol(_CoordAccessesAll)
[DISABLE]
_CoordAccessesAll:
db 0F 28 10 0F 10 4F 10
unregistersymbol(_CoordAccessesAll)
dealloc(newmem)
unregistersymbol(XPos)
unregistersymbol(YPos)
unregistersymbol(ZPos)
unregistersymbol(SaveF)
unregistersymbol(LoadF)
I don't know if the compare is correct but either way I'm having issues with this. All the addresses on accesses shows no offsets, just like: movaps xmm2,[rax]