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,22 @@
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
* Ghidra 12.1.2 decompiler output for 0x1400033a0 FUN_1400033a0
* Pseudocode, not original source. */
undefined8 * FUN_1400033a0(undefined8 *param_1,uint param_2)
{
LPCRITICAL_SECTION lpCriticalSection;
lpCriticalSection = DAT_1401bd028;
*param_1 = MBMultiThreadSync<MBCLog>::vftable;
if (lpCriticalSection != (LPCRITICAL_SECTION)0x0) {
DeleteCriticalSection(lpCriticalSection);
operator_delete(lpCriticalSection);
}
DAT_1401bd028 = (LPCRITICAL_SECTION)0x0;
if ((param_2 & 1) != 0) {
operator_delete(param_1);
}
return param_1;
}