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

27 lines
737 B
C

/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x1401a1fc0 FUN_1401a1fc0
* Pseudocode, not original source. */
void FUN_1401a1fc0(undefined8 *param_1)
{
longlong *plVar1;
longlong lVar2;
*param_1 = Proud::CTestUdpConnReset::vftable;
if (param_1[1] != 0) {
*(longlong *)(param_1[1] + 8) = *(longlong *)(param_1[1] + 8) + -1;
if (*(longlong *)(param_1[1] + 8) == 0) {
plVar1 = (longlong *)param_1[1];
lVar2 = *plVar1;
if (lVar2 != 0) {
FUN_14019c9e0(lVar2);
FUN_14016d970(lVar2);
}
FUN_14016d970(plVar1);
}
}
*param_1 = Proud::IFastSocketDelegate::vftable;
return;
}