From 22f33921b6127375efc706c6fe96457621c7ad03 Mon Sep 17 00:00:00 2001 From: Diavolo Date: Wed, 28 Jul 2021 21:44:17 +0200 Subject: [PATCH] Use push ecx is not destroyed --- src/Components/Modules/Colors.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/Modules/Colors.cpp b/src/Components/Modules/Colors.cpp index 7c0172ba..c1b338c4 100644 --- a/src/Components/Modules/Colors.cpp +++ b/src/Components/Modules/Colors.cpp @@ -268,8 +268,8 @@ namespace Components mov eax, [esp + 8] push edi mov edi, dword ptr[esp + 4h] - mov ecx, 406535h - jmp ecx + push 406535h + retn dontContinue: xor eax, eax