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,35 @@
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
* Ghidra 12.1.2 decompiler output for 0x14011b2e0 FUN_14011b2e0
* Pseudocode, not original source. */
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
void FUN_14011b2e0(longlong param_1,char *param_2,undefined8 param_3,undefined8 param_4)
{
int iVar1;
undefined8 local_res18;
undefined8 local_res20;
undefined1 auStack_248 [32];
char local_228 [512];
ulonglong local_28;
local_28 = DAT_1401ac5a0 ^ (ulonglong)auStack_248;
local_res18 = param_3;
local_res20 = param_4;
EnterCriticalSection(DAT_1401bd028);
iVar1 = _vscprintf(param_2,(va_list)&local_res18);
vsprintf_s(local_228,(longlong)(iVar1 + 1),param_2,(va_list)&local_res18);
if ((*(byte *)(param_1 + 0x10) & 2) != 0) {
printf(local_228);
}
if ((*(byte *)(param_1 + 0x10) & 4) != 0) {
OutputDebugStringA(local_228);
}
if ((*(FILE **)(param_1 + 0xb8) != (FILE *)0x0) && ((*(byte *)(param_1 + 0x10) & 8) != 0)) {
fprintf(*(FILE **)(param_1 + 0xb8),"%s");
}
LeaveCriticalSection(DAT_1401bd028);
return;
}