2017-04-10 18:29:44 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "stdafx.h"
|
|
|
|
|
|
|
|
class BpsPatcher
|
|
|
|
{
|
|
|
|
private:
|
2018-03-24 11:22:43 -04:00
|
|
|
static int64_t ReadBase128Number(std::istream &file);
|
2017-04-10 18:29:44 -04:00
|
|
|
|
|
|
|
public:
|
2017-07-30 09:03:54 -04: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);
|
2017-04-10 18:29:44 -04:00
|
|
|
};
|