Changed AOB scan function name
This commit is contained in:
@@ -56,7 +56,7 @@ extern "C" __declspec(dllexport) void SetFixEnabled(bool enabled)
|
||||
// === AOB Scans ===
|
||||
if (!FOVAddress) {
|
||||
constexpr auto FOVPattern = make_obfuscated<0x4A>("E8 ?? ?? ?? ?? C5 FA ?? ?? ?? ?? ?? ?? C5 F8 ?? ?? E8 ?? ?? ?? ?? C5 7A");
|
||||
FOVAddress = Memory::aob_scan(gameExecutable, FOVPattern.decrypt(), PAGE_EXECUTE_READ);
|
||||
FOVAddress = Memory::AOBScan(gameExecutable, FOVPattern.decrypt(), PAGE_EXECUTE_READ);
|
||||
if (FOVAddress)
|
||||
{
|
||||
logger->info("FOV signature found at address: 0x{:X}.", reinterpret_cast<uintptr_t>(FOVAddress));
|
||||
@@ -66,7 +66,7 @@ extern "C" __declspec(dllexport) void SetFixEnabled(bool enabled)
|
||||
}
|
||||
if (!CameraAddress) {
|
||||
constexpr auto CameraPattern = make_obfuscated<0x4A>("C5 FA ?? ?? ?? ?? ?? ?? C5 FA ?? ?? ?? C5 22 ?? ?? ?? C4 C1 ?? ?? ?? C5 FA ?? ?? ?? C5 7A");
|
||||
CameraAddress = Memory::aob_scan(gameExecutable, CameraPattern.decrypt(), PAGE_EXECUTE_READ);
|
||||
CameraAddress = Memory::AOBScan(gameExecutable, CameraPattern.decrypt(), PAGE_EXECUTE_READ);
|
||||
if (CameraAddress)
|
||||
{
|
||||
logger->info("Camera signature found at address: 0x{:X}.", reinterpret_cast<uintptr_t>(CameraAddress));
|
||||
@@ -76,7 +76,7 @@ extern "C" __declspec(dllexport) void SetFixEnabled(bool enabled)
|
||||
}
|
||||
if (!SharpnessAddress) {
|
||||
constexpr auto SharpnessPattern = make_obfuscated<0x4A>("C5 FA ?? ?? ?? ?? ?? ?? 8B 86 ?? ?? ?? ?? 89 87 ?? ?? ?? ?? 0F B6 ?? ?? ?? ?? ?? 89");
|
||||
SharpnessAddress = Memory::aob_scan(gameExecutable, SharpnessPattern.decrypt(), PAGE_EXECUTE_READ);
|
||||
SharpnessAddress = Memory::AOBScan(gameExecutable, SharpnessPattern.decrypt(), PAGE_EXECUTE_READ);
|
||||
if (SharpnessAddress)
|
||||
{
|
||||
logger->info("Sharpness signature found at address: 0x{:X}.", reinterpret_cast<uintptr_t>(SharpnessAddress));
|
||||
|
||||
Reference in New Issue
Block a user