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

22 lines
619 B
C

/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x1401f99a0 FUN_1401f99a0
* Pseudocode, not original source. */
ulonglong FUN_1401f99a0(longlong param_1,undefined8 param_2)
{
uint uVar1;
int iVar2;
ulonglong uVar3;
uVar1 = *(uint *)(param_1 + 0x1a4);
iVar2 = FUN_1401e2630(param_1 + 0x1b8,param_2,*(undefined8 *)(param_1 + 0x1c8));
if (iVar2 < (int)uVar1) {
uVar3 = FUN_1401e2630(param_1 + 0x1b8,param_2,*(undefined8 *)(param_1 + 0x1c8));
}
else {
uVar3 = (ulonglong)uVar1;
}
return uVar3;
}