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

16 lines
545 B
C

/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
* Ghidra 12.1.2 decompiler output for 0x1400cc940 FUN_1400cc940
* Pseudocode, not original source. */
undefined8 FUN_1400cc940(uint param_1)
{
EnterCriticalSection((LPCRITICAL_SECTION)&DAT_140163220);
if ((param_1 < 0x20) && ((&DAT_14015fe70)[(longlong)(int)param_1 * 0x10] != 0)) {
LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_140163220);
return 0;
}
LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_140163220);
return 0xb;
}