server-re/decomp/DBCServer_Release_x64/full/functions/0x1401e21c0.c

30 lines
793 B
C

/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x1401e21c0 FUN_1401e21c0
* Pseudocode, not original source. */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
void FUN_1401e21c0(void)
{
undefined4 uVar1;
DWORD DVar2;
if ((DAT_14034f278 & 1) == 0) {
DAT_14034f278 = DAT_14034f278 | 1;
uVar1 = FUN_140171510();
FUN_14016da70(&DAT_14034f240,uVar1,1);
atexit((_func_5014 *)&LAB_140274690);
}
FUN_14016db50(&DAT_14034f240);
if (DAT_14034f230 == 0) {
DAT_14034f230 = FUN_14016eed0();
}
if (_DAT_14034f238 == 0) {
DVar2 = TlsAlloc();
_DAT_14034f238 = (ulonglong)DVar2;
}
FUN_14016dbe0(&DAT_14034f240);
return;
}