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,39 @@
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x1401ad910 FUN_1401ad910
* Pseudocode, not original source. */
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
undefined8 FUN_1401ad910(__time64_t *param_1,undefined8 param_2,wchar_t *param_3)
{
errno_t eVar1;
size_t sVar2;
wchar_t *pwVar3;
undefined1 auStack_178 [32];
undefined4 local_158;
tm local_150;
wchar_t local_128 [128];
ulonglong local_28;
local_28 = DAT_1403463c0 ^ (ulonglong)auStack_178;
local_158 = 0;
if (param_3 == (wchar_t *)0x0) {
pwVar3 = (wchar_t *)0x0;
}
else {
eVar1 = _localtime64_s(&local_150,param_1);
if (eVar1 != 0) {
/* WARNING: Subroutine does not return */
FUN_14004dc60(0x80070057);
}
sVar2 = wcsftime(local_128,0x80,param_3,&local_150);
if (sVar2 == 0) {
local_128[0] = L'\0';
}
pwVar3 = local_128;
}
FUN_14016f750(param_2,pwVar3);
return param_2;
}