27 lines
1,022 B
C
27 lines
1,022 B
C
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
|
* Ghidra 12.1.2 decompiler output for 0x14006b400 FUN_14006b400
|
|
* Pseudocode, not original source. */
|
|
|
|
void FUN_14006b400(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_14006ba50(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_1401a93e8);
|
|
}
|
|
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;
|
|
}
|
|
|