From 621b3a4bde0dbebebc574b6ca6f887f40c47e1f9 Mon Sep 17 00:00:00 2001 From: Emmanuel AYME Date: Fri, 16 Jan 2026 19:04:46 +0100 Subject: [PATCH] Remove unnecessary variables declarations --- SilentHill2Remake/dllmain.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/SilentHill2Remake/dllmain.cpp b/SilentHill2Remake/dllmain.cpp index 05d912b..d2336ac 100644 --- a/SilentHill2Remake/dllmain.cpp +++ b/SilentHill2Remake/dllmain.cpp @@ -1,5 +1,6 @@ #include "CommonHeaders.h" #include "UEngine.hpp" +#include "UEvars.hpp" #include "SDK/Basic.hpp" #include "SDK/Engine_classes.hpp" #include "SDK/Cutscenes_classes.hpp" @@ -45,14 +46,8 @@ static float g_CameraIn = 156.25f; static float g_CameraOut = 156.25f; static bool g_Console_Enabled = false; -// AOB Unreal Engine offsets addresses -static uint8_t* GObjectsaddress = nullptr; -static uint8_t* AppendStringaddress = nullptr; -static uint8_t* ProcessEventaddress = nullptr; - // AOB Scan pointers static uint8_t* FOVaddress = nullptr; -static uint8_t* Binkaddress = nullptr; static uint8_t* UltraWideaddress = nullptr; static uint8_t* Cameraaddress = nullptr; static uint8_t* CutscenesFPSaddress = nullptr;