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

35 lines
1 KiB
C

/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x1401eb8d0 FUN_1401eb8d0
* Pseudocode, not original source. */
undefined8 FUN_1401eb8d0(longlong param_1,int *param_2,undefined8 param_3,undefined8 param_4)
{
int iVar1;
longlong lVar2;
undefined8 uVar3;
undefined *local_res8;
undefined8 uVar4;
uVar4 = 0xfffffffffffffffe;
lVar2 = *(longlong *)(param_1 + 0x108);
FUN_14016d8c0();
local_res8 = PTR_DAT_1403440a0;
FUN_14004e6d0(&local_res8,lVar2 + 0x1588);
lVar2 = FUN_1401c71f0(*(undefined8 *)(param_1 + 0x108));
uVar3 = 0;
if (*(undefined8 **)(lVar2 + 0x128) != (undefined8 *)0x0) {
uVar3 = **(undefined8 **)(lVar2 + 0x128);
}
iVar1 = FUN_14019cfd0(uVar3,&local_res8,*(undefined2 *)(*(longlong *)(param_1 + 0x108) + 0x1590),
param_4,uVar4);
if ((iVar1 == 0) || (iVar1 == 0x2733)) {
uVar3 = 1;
}
else {
*param_2 = iVar1;
uVar3 = 0;
}
return uVar3;
}