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

16 lines
550 B
C

/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
* Ghidra 12.1.2 decompiler output for 0x1400d58f0 FUN_1400d58f0
* Pseudocode, not original source. */
undefined8 FUN_1400d58f0(uint param_1)
{
EnterCriticalSection((LPCRITICAL_SECTION)&DAT_14017d440);
if ((param_1 < 0x20) && ((&DAT_140179540)[(longlong)(int)param_1 * 10] != 0)) {
LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_14017d440);
return 0;
}
LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_14017d440);
return 0xc;
}