Changed AOB scan function name

This commit is contained in:
2025-08-20 10:53:58 +02:00
parent f45e645c75
commit 33001e9d59
17 changed files with 123 additions and 67 deletions

View File

@@ -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 0F ?? ?? ?? 48 8D ?? ?? E8 ?? ?? ?? ?? 90 48 ?? ?? 48");
FOVaddress = Memory::aob_scan(gameExecutable, FOVStringObfuscated.decrypt(), PAGE_EXECUTE_READ);
FOVaddress = Memory::AOBScan(gameExecutable, FOVStringObfuscated.decrypt(), PAGE_EXECUTE_READ);
//DaysGone.exe + 46CC96 - 48 8B CB - mov rcx, rbx
//DaysGone.exe + 46CC99 - FF 90 80 03 00 00 - call qword ptr[rax + 00000380]
@@ -74,7 +74,7 @@ extern "C" __declspec(dllexport) void SetFixEnabled(bool enabled)
if (FOVfactorAddress == nullptr) {
constexpr auto FOVFactorStringObfuscated = make_obfuscated<0x4A>("CC 48 8B ?? ?? F3 0F 10 80 ?? ?? ?? ?? F3 0F");
FOVfactorAddress = Memory::aob_scan(gameExecutable, FOVFactorStringObfuscated.decrypt(), PAGE_EXECUTE_READ);
FOVfactorAddress = Memory::AOBScan(gameExecutable, FOVFactorStringObfuscated.decrypt(), PAGE_EXECUTE_READ);
//DaysGone.exe + 4554E0 - 48 8B 41 28 - mov rax, [rcx + 28]
//DaysGone.exe + 4554E4 - F3 0F 10 80 68 03 00 00 - movss xmm0, [rax + 00000368]
//DaysGone.exe + 4554EC - F3 0F 59 41 4C - mulss xmm0, [rcx + 4C]
@@ -90,7 +90,7 @@ extern "C" __declspec(dllexport) void SetFixEnabled(bool enabled)
if (HUDaddress == nullptr) {
constexpr auto AspectStringObfuscated = make_obfuscated<0x4A>("48 ?? ?? 48 ?? ?? 66 48 ?? ?? ?? FF ?? 48 8B ?? ?? ?? 0F ?? ??");
HUDaddress = Memory::aob_scan(gameExecutable, AspectStringObfuscated.decrypt(), PAGE_EXECUTE_READ);
HUDaddress = Memory::AOBScan(gameExecutable, AspectStringObfuscated.decrypt(), PAGE_EXECUTE_READ);
//DaysGone.exe + 1FBA9E3 - 0F 10 00 - movups xmm0, [rax]
//DaysGone.exe + 1FBA9E6 - 48 8B C7 - mov rax, rdi