/* 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; }