2019-02-13 14:10:36 -05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "stdafx.h"
|
|
|
|
|
|
|
|
class UpsPatcher
|
|
|
|
{
|
|
|
|
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 &upsFile, vector<uint8_t> &input, vector<uint8_t> &output);
|
|
|
|
static bool PatchBuffer(string upsFilepath, vector<uint8_t> &input, vector<uint8_t> &output);
|
|
|
|
};
|