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,46 @@
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x14016f260 FUN_14016f260
* Pseudocode, not original source. */
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
undefined * FUN_14016f260(void)
{
char cVar1;
int iVar2;
char cVar3;
undefined1 auStack_58 [32];
undefined *local_38;
char local_30;
undefined8 local_28;
CHAR local_20 [8];
ulonglong local_18;
local_28 = 0xfffffffffffffffe;
local_18 = DAT_1403463c0 ^ (ulonglong)auStack_58;
local_38 = &DAT_14034c708;
local_30 = '\0';
cVar1 = FUN_14016dbf0(&DAT_14034c708);
cVar3 = '\0';
if ((cVar1 != '\0') && (cVar3 = local_30, DAT_1403443c0 != '\0')) {
local_30 = '\x01';
FUN_14016db50(&DAT_14034c708);
cVar3 = '\x01';
}
if ((DAT_14034c6c8 & 1) == 0) {
DAT_14034c6c8 = DAT_14034c6c8 | 1;
_DAT_14034c6c4 = 0;
iVar2 = GetLocaleInfoA(0x800,5,local_20,7);
if (iVar2 != 0) {
_DAT_14034c6c4 = atoi(local_20);
}
}
DAT_1403443c0 = 0;
if (cVar3 != '\0') {
FUN_14016dbe0(&DAT_14034c708);
}
return &DAT_14034c6c4;
}