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

32 lines
811 B
C

/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x14016c260 FUN_14016c260
* Pseudocode, not original source. */
undefined1 FUN_14016c260(undefined8 param_1,longlong param_2)
{
char cVar1;
undefined1 uVar2;
undefined8 uVar3;
int iVar4;
ulonglong local_res18 [2];
cVar1 = FUN_14016ba10(param_1,local_res18);
if (cVar1 == '\0') {
return 0;
}
iVar4 = (int)local_res18[0];
if ((-1 < iVar4) && (iVar4 <= DAT_140344d70)) {
FUN_14016add0(param_2,local_res18[0] & 0xffffffff);
if (*(int *)(param_2 + 0x18) == 0) {
uVar3 = 0;
}
else {
uVar3 = *(undefined8 *)(param_2 + 0x10);
}
uVar2 = FUN_14016b370(param_1,uVar3,iVar4 * 8);
return uVar2;
}
return 0;
}