server-re/decomp/DBCServer_Release_x64/full/functions/0x14016dba0.c

18 lines
604 B
C

/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x14016dba0 FUN_14016dba0
* Pseudocode, not original source. */
bool FUN_14016dba0(int *param_1)
{
BOOL BVar1;
if (*param_1 != 0x3faf713) {
FUN_14016f090(
L"Lock invalid critical section is prohibited! NOTE: This may be solved by manually destroying ProudNet related objects if they are defined as Global Objects."
);
}
BVar1 = TryEnterCriticalSection((LPCRITICAL_SECTION)(param_1 + 2));
return BVar1 != 0;
}