13 lines
403 B
C++
13 lines
403 B
C++
class UE
|
|
{
|
|
public:
|
|
/**
|
|
* Get offset calculated from an AOB scan result and an executable base address
|
|
*
|
|
* @param exeName : A string of the executable name
|
|
* @param AOBResult : A valid (uint8_t) pointer to the result of an AOB scan
|
|
* @return std::optional<uint32_t> The offset calculated
|
|
*/
|
|
static std::optional<uint32_t> CalculateOffset(const std::string& exeName, uint8_t* AOBResult);
|
|
};
|