Changed a comment

This commit is contained in:
2025-08-20 11:22:34 +02:00
parent 1f6a8b4d1f
commit eb18934138

View File

@@ -244,7 +244,7 @@ LONG WINAPI FOVVehHandler(PEXCEPTION_POINTERS ep) {
if (!ep || !ep->ContextRecord || !ep->ExceptionRecord) return EXCEPTION_CONTINUE_SEARCH; if (!ep || !ep->ContextRecord || !ep->ExceptionRecord) return EXCEPTION_CONTINUE_SEARCH;
if (ep->ExceptionRecord->ExceptionCode != EXCEPTION_SINGLE_STEP) return EXCEPTION_CONTINUE_SEARCH; if (ep->ExceptionRecord->ExceptionCode != EXCEPTION_SINGLE_STEP) return EXCEPTION_CONTINUE_SEARCH;
CONTEXT* ctx = ep->ContextRecord; // Vérifie si on est sur l'instruction cible //logger->info("Avant if ep"); CONTEXT* ctx = ep->ContextRecord; // Check if instruction breakpoint is the one targeted
if (ctx->Rip == reinterpret_cast<uintptr_t>(FOVaddress)) { if (ctx->Rip == reinterpret_cast<uintptr_t>(FOVaddress)) {
t_fov_address_to_patch = static_cast<uintptr_t>(ctx->Rdi) + 0x30; t_fov_address_to_patch = static_cast<uintptr_t>(ctx->Rdi) + 0x30;