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

30 lines
969 B
C

/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x1401ed4c0 FUN_1401ed4c0
* Pseudocode, not original source. */
void FUN_1401ed4c0(longlong param_1,longlong param_2,undefined8 param_3,undefined8 param_4)
{
undefined4 uVar1;
undefined8 uVar2;
undefined *local_res8;
undefined8 uVar3;
uVar3 = 0xfffffffffffffffe;
FUN_14016db50();
if (*(int *)(param_2 + 0x100) != 5) {
FUN_14016d8c0();
local_res8 = PTR_DAT_1403440a0;
uVar1 = FUN_14016d740(L"Unexpected at CNetClientManager::Unregister");
uVar2 = FUN_14004e940(&local_res8,uVar1);
FUN_14016d770(uVar2,L"Unexpected at CNetClientManager::Unregister",uVar1,param_4,uVar3);
FUN_14004e560(&local_res8);
FUN_1401be230(&local_res8);
}
if (*(longlong *)(param_2 + 0x10) != 0) {
FUN_1401ea6f0(*(longlong *)(param_2 + 0x10),param_2);
}
FUN_14016dbe0(param_1 + 0x10);
return;
}