From 46835813a79af04aaf262dc720224eb4363c61c7 Mon Sep 17 00:00:00 2001 From: Gray <84999745+Milxnor@users.noreply.github.com> Date: Mon, 4 Aug 2025 10:17:03 -0400 Subject: [PATCH] fix 6.31 getnetmode from my car hotspot gg --- Project Reboot 3.0/finder.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Project Reboot 3.0/finder.h b/Project Reboot 3.0/finder.h index 83a7911..6a55b7e 100644 --- a/Project Reboot 3.0/finder.h +++ b/Project Reboot 3.0/finder.h @@ -1596,7 +1596,9 @@ static inline uint64 FindGetNetMode() for (int i = 0; i < 400; i++) { - if ((*(uint8_t*)(uint8_t*)(BeginningFunction + i) == 0xE8) && (*(uint8_t*)(uint8_t*)(BeginningFunction + i - 1) != 0x8B)) // scuffed but idk how to guarantee its not a register + if ((*(uint8_t*)(uint8_t*)(BeginningFunction + i) == 0xE8) + && (*(uint8_t*)(uint8_t*)(BeginningFunction + i - 1) != 0x8B) // scuffed but idk how to guarantee its not a register + && (*(uint8_t*)(uint8_t*)(BeginningFunction + i - 1) != 0xE7)) // ^^ 6.31 { CallToFunc = BeginningFunction + i; break; @@ -1609,7 +1611,7 @@ static inline uint64 FindGetNetMode() return 0; } - LOG_INFO(LogDev, "CallToFunc: 0x{:x}", CallToFunc - __int64(GetModuleHandleW(0))); + LOG_INFO(LogDev, "GetNetMode Off: 0x{:x}", CallToFunc - __int64(GetModuleHandleW(0))); return Memcury::Scanner(CallToFunc).RelativeOffset(1).Get();