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,27 @@
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
* Ghidra 12.1.2 decompiler output for 0x14006b400 FUN_14006b400
* Pseudocode, not original source. */
void FUN_14006b400(undefined4 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4)
{
exception local_58 [80];
if (*(char *)(param_1 + 0xc) == '\0') {
if ((*(longlong *)(param_1 + 6) != 0) && (*(longlong *)(param_1 + 6) != -1)) {
FUN_14006ba50(local_58,L"Critical section is still in use! Destruction may cause problems!",
param_3,param_4);
/* WARNING: Subroutine does not return */
_CxxThrowException(local_58,(ThrowInfo *)&DAT_1401a93e8);
}
DeleteCriticalSection((LPCRITICAL_SECTION)(param_1 + 2));
*param_1 = 0;
*(undefined8 *)(param_1 + 2) = 0;
*(undefined8 *)(param_1 + 4) = 0;
*(undefined8 *)(param_1 + 6) = 0;
*(undefined8 *)(param_1 + 8) = 0;
*(undefined8 *)(param_1 + 10) = 0;
}
return;
}