37 lines
884 B
C
37 lines
884 B
C
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
|
* Ghidra 12.1.2 decompiler output for 0x14016f180 FUN_14016f180
|
|
* Pseudocode, not original source. */
|
|
|
|
undefined8 FUN_14016f180(void)
|
|
|
|
{
|
|
HANDLE pvVar1;
|
|
bool bVar2;
|
|
undefined4 local_res8 [8];
|
|
undefined8 uVar3;
|
|
|
|
uVar3 = 0xfffffffffffffffe;
|
|
LOCK();
|
|
bVar2 = DAT_14034c6c0 == 0;
|
|
if (bVar2) {
|
|
DAT_14034c6c0 = 1;
|
|
}
|
|
UNLOCK();
|
|
if (bVar2) {
|
|
local_res8[0] = 2;
|
|
if ((DAT_14034c698 & 1) == 0) {
|
|
DAT_14034c698 = DAT_14034c698 | 1;
|
|
FUN_14016eef0(&DAT_14034c630);
|
|
}
|
|
if (DAT_14034c638 != (code *)0x0) {
|
|
if ((DAT_14034c698 & 1) == 0) {
|
|
DAT_14034c698 = DAT_14034c698 | 1;
|
|
FUN_14016eef0(&DAT_14034c630);
|
|
}
|
|
pvVar1 = GetProcessHeap();
|
|
(*DAT_14034c638)(pvVar1,0,local_res8,4,uVar3);
|
|
}
|
|
}
|
|
return 1;
|
|
}
|
|
|