Changed AOB scan function name
This commit is contained in:
@@ -58,7 +58,7 @@ extern "C" __declspec(dllexport) void SetFixEnabled(bool enabled)
|
||||
logger->info("--------------- AOB scan started ---------------");
|
||||
if (FOVaddress == nullptr) {
|
||||
constexpr auto FOVStringObfuscated = make_obfuscated<0x4A>("F3 44 ?? ?? ?? ?? 48 8B ?? ?? ?? 4C ?? ?? 49 0F ?? ?? ?? ?? ?? ?? 4C 8D");
|
||||
FOVaddress = Memory::aob_scan(gameExecutable, FOVStringObfuscated.decrypt(), PAGE_EXECUTE_READ);
|
||||
FOVaddress = Memory::AOBScan(gameExecutable, FOVStringObfuscated.decrypt(), PAGE_EXECUTE_READ);
|
||||
|
||||
if (!FOVaddress)
|
||||
logger->warn("FOV signature not found. Maybe your game has been updated and is no more compatible with this plugin.");
|
||||
@@ -69,7 +69,7 @@ extern "C" __declspec(dllexport) void SetFixEnabled(bool enabled)
|
||||
}
|
||||
if (CinematicsFOVaddress == nullptr) {
|
||||
constexpr auto CinematicsFOVStringObfuscated = make_obfuscated<0x4A>("F3 0F ?? ?? F3 0F ?? ?? ?? ?? ?? ?? 0F ?? ?? E8 ?? ?? ?? ?? F3 0F ?? ?? E8");
|
||||
CinematicsFOVaddress = Memory::aob_scan(gameExecutable, CinematicsFOVStringObfuscated.decrypt(), PAGE_EXECUTE_READ);
|
||||
CinematicsFOVaddress = Memory::AOBScan(gameExecutable, CinematicsFOVStringObfuscated.decrypt(), PAGE_EXECUTE_READ);
|
||||
|
||||
if (!CinematicsFOVaddress)
|
||||
logger->warn("Cinematics FOV signature not found. Maybe your game has been updated and is no more compatible with this plugin.");
|
||||
@@ -79,7 +79,7 @@ extern "C" __declspec(dllexport) void SetFixEnabled(bool enabled)
|
||||
}
|
||||
if (CinematicsFTaddress == nullptr) {
|
||||
constexpr auto FTStringObfuscated = make_obfuscated<0x4A>("75 ?? 48 8B ?? ?? ?? ?? ?? 48 ?? ?? 74 ?? 39 ?? ?? 77");
|
||||
CinematicsFTaddress = Memory::aob_scan(gameExecutable, FTStringObfuscated.decrypt(), PAGE_EXECUTE_READ);
|
||||
CinematicsFTaddress = Memory::AOBScan(gameExecutable, FTStringObfuscated.decrypt(), PAGE_EXECUTE_READ);
|
||||
|
||||
if (!CinematicsFTaddress)
|
||||
logger->warn("Cinematics frametime signature not found. Maybe your game has been updated and is no more compatible with this plugin.");
|
||||
|
||||
Reference in New Issue
Block a user