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,29 @@
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x14015bd00 FUN_14015bd00
* Pseudocode, not original source. */
undefined8 * FUN_14015bd00(undefined8 *param_1)
{
*(undefined2 *)(param_1 + 1) = 0;
*param_1 = MagiCommonSession::vftable;
param_1[2] = 0;
*(undefined4 *)(param_1 + 3) = 0x1000001;
*(undefined1 *)((longlong)param_1 + 0x1c) = 1;
param_1[4] = 0;
param_1[5] = 0x4008000000000000;
FUN_14016d8c0();
param_1[6] = PTR_DAT_1403440a0;
*(undefined8 *)((longlong)param_1 + 0x3c) = 0;
if ((DAT_14039d154 & 1) == 0) {
DAT_14039d154 = DAT_14039d154 | 1;
FUN_14021b8f0();
atexit((_func_5014 *)&LAB_1402741c0);
}
if (DAT_14039d100 == 1000) {
*(undefined1 *)((longlong)param_1 + 0x1c) = 0;
param_1[5] = 0x4024000000000000;
}
return param_1;
}