/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186 * Ghidra 12.1.2 decompiler output for 0x14001c4a0 FUN_14001c4a0 * Pseudocode, not original source. */ undefined8 * FUN_14001c4a0(undefined8 *param_1,uint param_2) { LPCRITICAL_SECTION lpCriticalSection; lpCriticalSection = DAT_14017cf60; *param_1 = MBMultiThreadSync::vftable; if (lpCriticalSection != (LPCRITICAL_SECTION)0x0) { DeleteCriticalSection(lpCriticalSection); operator_delete(lpCriticalSection); } DAT_14017cf60 = (LPCRITICAL_SECTION)0x0; if ((param_2 & 1) != 0) { operator_delete(param_1); } return param_1; }