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.
This commit is contained in:
ragnarok-clanker 2026-11-05 23:48:05 +00:00
commit a4b819bcbe

View file

@ -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;
}