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

22 lines
665 B
C

/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
* Ghidra 12.1.2 decompiler output for 0x14000ebb0 FUN_14000ebb0
* Pseudocode, not original source. */
undefined8 * FUN_14000ebb0(undefined8 *param_1,uint param_2)
{
LPCRITICAL_SECTION lpCriticalSection;
lpCriticalSection = DAT_140162d80;
*param_1 = MBMultiThreadSync<MBCLog>::vftable;
if (lpCriticalSection != (LPCRITICAL_SECTION)0x0) {
DeleteCriticalSection(lpCriticalSection);
operator_delete(lpCriticalSection);
}
DAT_140162d80 = (LPCRITICAL_SECTION)0x0;
if ((param_2 & 1) != 0) {
operator_delete(param_1);
}
return param_1;
}