Minoria v1.07
Posted: Wed Aug 28, 2019 10:04 pm
Cheats:
- Godmode
- Infinite Incenses
- Level
- Current Exp
- Physical Atk
- Magic Atk
- Physical Defense
- Magic Defense
updated to v1.07
Community Cheat Tables of Cheat Engine
https://fearlessrevolution.com/
Code: Select all
{ Game : Minoria
Version:
Date : 2019-08-28
Author : fantomas
}
{$lua}
if syntaxcheck then return end
cheat_name = "DoorUnlocked"
[ENABLE]
local pattern = "75 1D 48 8B CE 48 83 EC 20 49 BB ?? ?? ?? ?? ?? ?? ?? ?? 41 FF D3 48 83 C4 20 E9 ?? ?? ?? ?? 0F"
local replace = "74 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??"
-- edit the name of the cheat
-- edit the pattern to search
-- edit the replacement bytes
-- use ?? to ignore the bytes
-- do not edit the code below
local scans = AOBScan(pattern)
if scans == nil then
showMessage("Unable to find pattern:\n"..pattern)
else
local saved = {}
local length = (#replace + 1) / 3
for i = 0, scans.Count - 1 do
local backup = readBytes(scans[i], length, true)
local bytes = {}
for hex in string.gmatch(replace, "%S+") do
local size = #bytes + 1
if hex == "??" then
bytes[size] = backup[size]
else
bytes[size] = tonumber(hex, 16)
end
end
saved[i] = backup
writeBytes(scans[i], bytes)
end
_G[cheat_name] = {
["scans"] = scans,
["saved"] = saved
}
end
[DISABLE]
local vars = _G[cheat_name]
if vars ~= nil then
local scans = vars.scans
local saved = vars.saved
for i = 0, scans.Count - 1 do
writeBytes(scans[i], saved[i])
end
scans.Destroy()
vars.scans = nil
vars.saved = nil
vars = nil
_G[cheat_name] = nil
end
{$asm}
{
// ORIGINAL CODE - INJECTION POINT: Door:OnTalk+1f
046AB422: 8B EC - mov ebp,esp
046AB424: 56 - push rsi
046AB425: 57 - push rdi
046AB426: 48 83 EC 70 - sub rsp,70
046AB42A: 48 8B F1 - mov rsi,rcx
046AB42D: 33 C0 - xor eax,eax
046AB42F: 48 89 45 B0 - mov [rbp-50],rax
046AB433: 89 45 B8 - mov [rbp-48],eax
046AB436: 0F B6 86 CA 00 00 00 - movzx eax,byte ptr [rsi+000000CA]
046AB43D: 85 C0 - test eax,eax
// ---------- INJECTING HERE ----------
046AB43F: 75 1D - jne 046AB45E
046AB441: 48 8B CE - mov rcx,rsi
// ---------- DONE INJECTING ----------
046AB444: 48 83 EC 20 - sub rsp,20
046AB448: 49 BB 20 4F 7D 22 00 00 00 00 - mov r11,00000000227D4F20
046AB452: 41 FF D3 - call r11
046AB455: 48 83 C4 20 - add rsp,20
046AB459: E9 9C 04 00 00 - jmp 046AB8FA
046AB45E: 0F B6 86 CB 00 00 00 - movzx eax,byte ptr [rsi+000000CB]
046AB465: 85 C0 - test eax,eax
046AB467: 0F 84 52 00 00 00 - je 046AB4BF
046AB46D: 48 8B 04 25 D0 EE C9 01 - mov rax,[01C9EED0]
046AB475: 48 8B C8 - mov rcx,rax
}