35 lines
1,002 B
C
35 lines
1,002 B
C
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
|
* Ghidra 12.1.2 decompiler output for 0x1401fd6e0 FUN_1401fd6e0
|
|
* Pseudocode, not original source. */
|
|
|
|
void FUN_1401fd6e0(longlong *param_1,longlong param_2)
|
|
|
|
{
|
|
longlong *plVar1;
|
|
|
|
if (*(longlong *)(param_2 + 0x30) != 0) {
|
|
plVar1 = (longlong *)(*(longlong *)(param_2 + 0x30) + 8);
|
|
*plVar1 = *plVar1 + -1;
|
|
if (*plVar1 == 0) {
|
|
FUN_140178750((undefined8 *)(param_2 + 0x30),*(undefined8 *)(param_2 + 0x30));
|
|
}
|
|
}
|
|
FUN_14016d0e0(param_2 + 0x18);
|
|
if (*(longlong *)(param_2 + 0x20) != 0) {
|
|
if (*(int *)(param_2 + 0x2c) < 0) {
|
|
/* WARNING: Subroutine does not return */
|
|
FUN_14016d6b0();
|
|
}
|
|
*(undefined4 *)(param_2 + 0x28) = 0;
|
|
}
|
|
plVar1 = (longlong *)*param_1;
|
|
if (plVar1 == (longlong *)0x0) {
|
|
FUN_14016d970(param_2);
|
|
}
|
|
else {
|
|
(**(code **)(*plVar1 + 0x10))(plVar1,param_2);
|
|
}
|
|
param_1[3] = param_1[3] + -1;
|
|
return;
|
|
}
|
|
|