2020-11-27 09:09:48 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <hex.hpp>
|
|
|
|
|
|
|
|
#include <map>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
namespace hex {
|
|
|
|
|
|
|
|
using Patches = std::map<u64, u8>;
|
|
|
|
|
|
|
|
std::vector<u8> generateIPSPatch(const Patches &patches);
|
|
|
|
std::vector<u8> generateIPS32Patch(const Patches &patches);
|
|
|
|
|
2020-11-29 15:09:36 +01:00
|
|
|
Patches loadIPSPatch(const std::vector<u8> &ipsPatch);
|
|
|
|
Patches loadIPS32Patch(const std::vector<u8> &ipsPatch);
|
2020-11-27 09:09:48 +01:00
|
|
|
}
|