diff --git a/WuchangFF/dllmain.cpp b/WuchangFF/dllmain.cpp index 121756f..9bc409c 100644 --- a/WuchangFF/dllmain.cpp +++ b/WuchangFF/dllmain.cpp @@ -244,7 +244,7 @@ LONG WINAPI FOVVehHandler(PEXCEPTION_POINTERS ep) { if (!ep || !ep->ContextRecord || !ep->ExceptionRecord) 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(FOVaddress)) { t_fov_address_to_patch = static_cast(ctx->Rdi) + 0x30;