server-re/decomp/AgentManager_Release_x64/full/functions/0x14003d090.c
2026-10-15 09:58:24 -04:00

18 lines
607 B
C

/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
* Ghidra 12.1.2 decompiler output for 0x14003d090 FUN_14003d090
* Pseudocode, not original source. */
bool FUN_14003d090(int *param_1)
{
BOOL BVar1;
if (*param_1 != 0x3faf713) {
FUN_14003e110(
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;
}