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

27 lines
707 B
C

/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x1401e4950 FUN_1401e4950
* Pseudocode, not original source. */
undefined8 FUN_1401e4950(longlong param_1,int param_2,longlong param_3)
{
undefined8 uVar1;
int iVar2;
if (((param_1 != 0) && (param_3 != 0)) && (param_2 == 0x400)) {
uVar1 = FUN_1401e42a0(param_3);
if ((int)uVar1 == 0) {
iVar2 = 0;
do {
uVar1 = FUN_1401e43f0(iVar2 + param_1,0x20,param_3);
if ((int)uVar1 != 0) {
return uVar1;
}
iVar2 = iVar2 + 0x20;
} while (iVar2 < 0x400);
}
return uVar1;
}
return 0x10;
}