Page 1 of 1
obscure 2: which value type are small keys?
Posted: Wed Jan 29, 2025 6:48 am
by blazeinferno4
yeah i'm trying to hack small keys with cheat engine. does anyone know what value type the small keys are?
Re: obscure 2: which value type are small keys?
Posted: Wed Jan 29, 2025 8:13 am
by 1lvl1
It should be 4bytes.
Here is a quick script, to always have 3 keys, when you insert them.
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>176</ID>
<Description>"keys"</Description>
<LastState/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>[ENABLE]
aobscanmodule(key,OBSCURE2.exe,8B 40 0C 85 C0 76) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
newmem:
code:
mov [eax+0C],3
mov eax,[eax+0C]
test eax,eax
jmp return
key:
jmp newmem
return:
registersymbol(key)
[DISABLE]
key:
db 8B 40 0C 85 C0
unregistersymbol(key)
dealloc(newmem)
</AssemblerScript>
</CheatEntry>
</CheatEntries>
</CheatTable>
Copy everything in the spoiler and paste it in your Cheat Engine.
Re: obscure 2: which value type are small keys?
Posted: Sat May 10, 2025 12:22 am
by hotbabyx
Do you mean the keys of boxes or doors keys??
if you mean the keys if boxes try this:
[ENABLE]
aobscanmodule(INJECT,OBSCURE2.exe,89 48 0C 8B 86 1C 01 00 00) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
newmem:
code:
mov [eax+0C],ecx
//mov eax,[esi+0000011C]
jmp return
INJECT:
jmp newmem
nop 4
return:
registersymbol(INJECT)
[DISABLE]
INJECT:
db 89 48 0C 8B 86 1C 01 00 00
unregistersymbol(INJECT)
dealloc(newmem)