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 @@
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x1401c9840 FUN_1401c9840
* Pseudocode, not original source. */
void FUN_1401c9840(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4)
{
int *piVar1;
undefined8 uVar2;
undefined *local_res18 [2];
uVar2 = FUN_140170a50(param_2,local_res18,param_3,param_4,0xfffffffffffffffe);
FUN_14004be20(param_1,uVar2);
if (((local_res18[0] != (undefined *)0x0) && (local_res18[0] != PTR_DAT_1403440a0)) &&
(local_res18[0] + -8 != (undefined *)0x0)) {
uVar2 = FUN_14016d8c0();
FUN_14016db50(uVar2);
piVar1 = (int *)(local_res18[0] + -4);
*piVar1 = *piVar1 + -1;
if (*piVar1 == 0) {
FUN_14016d970(local_res18[0] + -8);
}
FUN_14016dbe0(uVar2);
}
return;
}