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:
parent
7382fc354f
commit
a4b819bcbe
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue