Klimeaid How do I cheat? Reputation: 0
Joined: 17 Mar 2017 Posts: 1
|
Posted: Fri Mar 17, 2017 12:13 pm Post subject: looking for some help fixing up some code |
|
|
so i had written this code and previously it would output the array length for the number of entities the game had loaded and while it worked for a week it ceased working yesterday and now its just giving compile errors and im not sure why.
this is the entry point i found that was directly accessing one of the base pointers and also checks the rest of the pointers i want but im not entirely sure how to get the output from this so i tried my best when i've been doing this for less than a month
Code: | [ENABLE]
aobscanmodule(Playerval,ffxiv_dx11.exe,48 89 44 CF 08 FF) // should be unique
alloc(newmem,$100,"ffxiv_dx11.exe"+1B69A7)
alloc(PtrValue,$100)
label(code)
label(return)
newmem:
mov [rdi+rcx*8+08],rax
mov [ptrValue],rdi
code:
mov [rdi+rcx*8+08],rax
jmp return
Playerval:
jmp newmem
return:
registersymbol(Playerval)
registersymbol(PtrValue)
[DISABLE]
Playerval:
db 48 89 44 CF 08
unregistersymbol(Playerval)
registersymbol(PtrValue)
dealloc(newmem)
dealloc(PtrValue)
{
// ORIGINAL CODE - INJECTION POINT: "ffxiv_dx11.exe"+1B69A7
"ffxiv_dx11.exe"+1B698A: 48 8B FA - mov rdi,rdx
"ffxiv_dx11.exe"+1B698D: 33 DB - xor ebx,ebx
"ffxiv_dx11.exe"+1B698F: 90 - nop
"ffxiv_dx11.exe"+1B6990: 8B CB - mov ecx,ebx
"ffxiv_dx11.exe"+1B6992: E8 29 31 40 00 - call ffxiv_dx11.exe+5B9AC0
"ffxiv_dx11.exe"+1B6997: 48 85 C0 - test rax,rax
"ffxiv_dx11.exe"+1B699A: 74 12 - je ffxiv_dx11.exe+1B69AE
"ffxiv_dx11.exe"+1B699C: 48 63 0F - movsxd rcx,dword ptr [rdi]
"ffxiv_dx11.exe"+1B699F: 81 F9 A8 01 00 00 - cmp ecx,000001A8
"ffxiv_dx11.exe"+1B69A5: 7D 07 - jnl ffxiv_dx11.exe+1B69AE
// ---------- INJECTING HERE ----------
"ffxiv_dx11.exe"+1B69A7: 48 89 44 CF 08 - mov [rdi+rcx*8+08],rax
// ---------- DONE INJECTING ----------
"ffxiv_dx11.exe"+1B69AC: FF 07 - inc [rdi]
"ffxiv_dx11.exe"+1B69AE: FF C3 - inc ebx
"ffxiv_dx11.exe"+1B69B0: 81 FB A8 01 00 00 - cmp ebx,000001A8
"ffxiv_dx11.exe"+1B69B6: 72 D8 - jb ffxiv_dx11.exe+1B6990
"ffxiv_dx11.exe"+1B69B8: 48 8B 5C 24 30 - mov rbx,[rsp+30]
"ffxiv_dx11.exe"+1B69BD: 48 83 C4 20 - add rsp,20
"ffxiv_dx11.exe"+1B69C1: 5F - pop rdi
"ffxiv_dx11.exe"+1B69C2: C3 - ret
"ffxiv_dx11.exe"+1B69C3: CC - int 3
"ffxiv_dx11.exe"+1B69C4: CC - int 3
} |
|
|