server-re/decomp/DBCServer_Release_x64/full/functions/0x14014cf80.c

33 lines
989 B
C

/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x14014cf80 FUN_14014cf80
* Pseudocode, not original source. */
void FUN_14014cf80(undefined8 param_1,undefined4 *param_2)
{
undefined *puVar1;
int *piVar2;
undefined *puVar3;
undefined *local_res10 [3];
undefined8 uVar4;
uVar4 = 0xfffffffffffffffe;
FUN_14016d8c0();
local_res10[0] = PTR_DAT_1403440a0;
FUN_14004c020(local_res10,L"{ %d %s }",*param_2,(longlong)param_2 + 0x56,uVar4);
FUN_14004be20(param_1,local_res10);
puVar3 = local_res10[0];
if (((local_res10[0] != (undefined *)0x0) && (local_res10[0] != PTR_DAT_1403440a0)) &&
(puVar1 = local_res10[0] + -8, puVar1 != (undefined *)0x0)) {
uVar4 = FUN_14016d8c0();
FUN_14016db50(uVar4);
piVar2 = (int *)(puVar3 + -4);
*piVar2 = *piVar2 + -1;
if (*piVar2 == 0) {
FUN_14016d970(puVar1);
}
FUN_14016dbe0(uVar4);
}
return;
}