2019-02-13 14:10:36 -05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "stdafx.h"
|
|
|
|
|
|
|
|
class BpsPatcher
|
|
|
|
{
|
|
|
|
private:
|
2021-03-10 11:13:28 -05:00
|
|
|
static int64_t ReadBase128Number(std::istream &file);
|
2019-02-13 14:10:36 -05:00
|
|
|
|
|
|
|
public:
|
2021-03-10 11:13:28 -05:00
|
|
|
static bool PatchBuffer(std::istream &bpsFile, vector<uint8_t> &input, vector<uint8_t> &output);
|
|
|
|
static bool PatchBuffer(string bpsFilepath, vector<uint8_t> &input, vector<uint8_t> &output);
|
|
|
|
};
|