decomp DBCServer_Release and inspect/document database

This commit is contained in:
Benjamin Palko 2026-10-14 23:22:03 -04:00
parent 4b267cbe05
commit 7834b98bf0
28222 changed files with 843300 additions and 144 deletions

View file

@ -0,0 +1,37 @@
/* 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;
}