26 lines
925 B
C
26 lines
925 B
C
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
|
* Ghidra 12.1.2 decompiler output for 0x14016dc00 FUN_14016dc00
|
|
* Pseudocode, not original source. */
|
|
|
|
void FUN_14016dc00(undefined4 *param_1)
|
|
|
|
{
|
|
undefined1 local_58 [80];
|
|
|
|
if (*(char *)(param_1 + 0xc) == '\0') {
|
|
if ((*(longlong *)(param_1 + 6) != 0) && (*(longlong *)(param_1 + 6) != -1)) {
|
|
FUN_14016d300(local_58,L"Critical section is still in use! Destruction may cause problems!");
|
|
/* WARNING: Subroutine does not return */
|
|
_CxxThrowException(local_58,(ThrowInfo *)&DAT_1403417f8);
|
|
}
|
|
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;
|
|
}
|
|
|