From a4b819bcbe989ac35c2152804cf7a118ef5fd0bf Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 23:48:05 +0000 Subject: [PATCH] Decompile fn_20387 (CheckConnectionRuntime) Batch #12680 by spider: 1 byte-identical, 0 confirmed by peer review. - fn_20387 CheckConnectionRuntime: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Network/Connection/ConnectionRuntime.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Network/Connection/ConnectionRuntime.cpp b/Source/Network/Connection/ConnectionRuntime.cpp index 7b75d63a..8602ecbf 100644 --- a/Source/Network/Connection/ConnectionRuntime.cpp +++ b/Source/Network/Connection/ConnectionRuntime.cpp @@ -24,7 +24,9 @@ bool CheckConnectionRuntime() { HMODULE library = LoadLibraryA("ws2_32.dll"); if (library) { for (unsigned index = 0; index < 4; ++index) { - if (GetProcAddress(library, names[index]) != GetProcAddress(ws2Module, names[index])) { + FARPROC loadedFunction = GetProcAddress(library, names[index]); + FARPROC originalFunction = GetProcAddress(ws2Module, names[index]); + if (loadedFunction != originalFunction) { FreeLibrary(library); return false; }