server-re/decomp/Agent_Release_x64/full/functions/0x14002e730.c
2026-10-14 16:45:19 -04:00

18 lines
600 B
C

/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
* Ghidra 12.1.2 decompiler output for 0x14002e730 FUN_14002e730
* Pseudocode, not original source. */
bool FUN_14002e730(int *param_1)
{
BOOL BVar1;
if (*param_1 != 0x3faf713) {
FUN_14002fa10(
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;
}