/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469 * Ghidra 12.1.2 decompiler output for 0x14002e7a0 FUN_14002e7a0 * Pseudocode, not original source. */ void FUN_14002e7a0(undefined4 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) { exception local_58 [80]; if (*(char *)(param_1 + 0xc) == '\0') { if ((*(longlong *)(param_1 + 6) != 0) && (*(longlong *)(param_1 + 6) != -1)) { FUN_14002f1e0(local_58,L"Critical section is still in use! Destruction may cause problems!", param_3,param_4); /* WARNING: Subroutine does not return */ _CxxThrowException(local_58,(ThrowInfo *)&DAT_140151b88); } DeleteCriticalSection((LPCRITICAL_SECTION)(param_1 + 2)); *param_1 = 0; *(undefined8 *)(param_1 + 2) = 0; *(undefined8 *)(param_1 + 4) = 0; *(undefined8 *)(param_1 + 6) = 0; *(undefined8 *)(param_1 + 8) = 0; *(undefined8 *)(param_1 + 10) = 0; } return; }