Re: Astroneer, an instruction is shared with tons of total different address and values.
Posted: Tue Oct 31, 2017 5:20 pm
Ok I found another offset that works Here:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
aobscanmodule(INF_OXYGEN,Astro-Win64-Shipping.exe,89 BB 40 01 00 00 85)
alloc(newmem,$1000,"Astro-Win64-Shipping.exe"+1DF9CB)
label(code)
label(return)
label(massiveresources)
label(instantcraftbp)
newmem:
cmp [rbx+000000A8],2E480609 //check if it is resource
je massiveresources //jump to massive resources
cmp [rbx+000000A8],2E480619 //check if it is oxygen
jne code //going down to infinite oxygen, OK
mov [rbx+00000140],(int)277200 //Infinite Oxygen
jmp return
massiveresources:
cmp r15,0//check if it is instacraft
jne instantcraftbp //it's not than don't jump
mov [rbx+00000140],(int)138600 // Massive Resources //else, doing massive resource
jmp return
instantcraftbp:
mov [rbx+00000140],(int)0 //apply 0 to the address value so it will be instant crafting
jmp return
code:
mov [rbx+00000140],edi
jmp return
INF_OXYGEN:
jmp newmem
nop
return:
registersymbol(INF_OXYGEN)
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INF_OXYGEN:
db 89 BB 40 01 00 00
unregistersymbol(INF_OXYGEN)
dealloc(newmem)