30 lines
781 B
C
30 lines
781 B
C
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
|
* Ghidra 12.1.2 decompiler output for 0x14004f5a0 FUN_14004f5a0
|
|
* Pseudocode, not original source. */
|
|
|
|
void FUN_14004f5a0(longlong *param_1)
|
|
|
|
{
|
|
int *piVar1;
|
|
undefined *puVar2;
|
|
undefined8 uVar3;
|
|
|
|
puVar2 = (undefined *)*param_1;
|
|
if (((puVar2 == (undefined *)0x0) || (puVar2 == PTR_DAT_140344098)) ||
|
|
(puVar2 + -8 == (undefined *)0x0)) {
|
|
*param_1 = (longlong)PTR_DAT_140344098;
|
|
}
|
|
else {
|
|
uVar3 = FUN_14016d8c0();
|
|
FUN_14016db50(uVar3);
|
|
piVar1 = (int *)(puVar2 + -4);
|
|
*piVar1 = *piVar1 + -1;
|
|
if (*piVar1 == 0) {
|
|
FUN_14016d970(puVar2 + -8);
|
|
}
|
|
FUN_14016dbe0(uVar3);
|
|
*param_1 = (longlong)PTR_DAT_140344098;
|
|
}
|
|
return;
|
|
}
|
|
|