From 2ca6ecc6767e7feb321318035ac81893864d4732 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Mon, 24 Dec 2018 22:47:38 +0100 Subject: [PATCH] Faster CEG patching --- src/module/ceg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module/ceg.cpp b/src/module/ceg.cpp index 6cc86ba..22ea243 100644 --- a/src/module/ceg.cpp +++ b/src/module/ceg.cpp @@ -11,7 +11,7 @@ public: // CEG in MP has accidentally been removed due to CVE-2018-10718 if(module_loader::get_mode() != launcher::mode::SINGLEPLAYER) return; - utils::hook::signature signature; + utils::hook::signature signature(0x401000, 0x3E1000); signature.add({ "\x56\xE8\x00\x00\x00\x00\x8B\xF0\xE8\x00\x00\x00\x00\x50\x56\xE8", "xx????xxx????xxx", [](char* address) {