1
0
mirror of synced 2024-12-12 16:01:06 +01:00
ImHex/plugins/libimhex/include/hex/helpers/patches.hpp
2021-12-07 22:47:41 +01:00

17 lines
373 B
C++

#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);
Patches loadIPSPatch(const std::vector<u8> &ipsPatch);
Patches loadIPS32Patch(const std::vector<u8> &ipsPatch);
}