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,48 @@
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
* Ghidra 12.1.2 decompiler output for 0x14011b4b0 FUN_14011b4b0
* Pseudocode, not original source. */
void FUN_14011b4b0(undefined8 *param_1)
{
LPCRITICAL_SECTION lpCriticalSection;
*param_1 = MBCLog::vftable;
param_1[1] = MBCLog::vftable;
FUN_14011b3d0((longlong)param_1);
if (7 < (ulonglong)param_1[0x15]) {
operator_delete((void *)param_1[0x12]);
}
param_1[0x15] = 7;
param_1[0x14] = 0;
*(undefined2 *)(param_1 + 0x12) = 0;
if (7 < (ulonglong)param_1[0x10]) {
operator_delete((void *)param_1[0xd]);
}
param_1[0x10] = 7;
param_1[0xf] = 0;
*(undefined2 *)(param_1 + 0xd) = 0;
if (7 < (ulonglong)param_1[0xb]) {
operator_delete((void *)param_1[8]);
}
param_1[0xb] = 7;
param_1[10] = 0;
*(undefined2 *)(param_1 + 8) = 0;
if (7 < (ulonglong)param_1[6]) {
operator_delete((void *)param_1[3]);
}
lpCriticalSection = DAT_1401bd028;
param_1[6] = 7;
param_1[5] = 0;
*(undefined2 *)(param_1 + 3) = 0;
param_1[1] = MBMultiThreadSync<MBCLog>::vftable;
if (lpCriticalSection != (LPCRITICAL_SECTION)0x0) {
DeleteCriticalSection(lpCriticalSection);
operator_delete(lpCriticalSection);
}
DAT_1401bd028 = (LPCRITICAL_SECTION)0x0;
DAT_1401ba9e8 = 0;
*param_1 = MBISingleton<MBCLog>::vftable;
return;
}