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

31 lines
755 B
C

/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x1401e2bf0 FUN_1401e2bf0
* Pseudocode, not original source. */
undefined4 FUN_1401e2bf0(longlong *param_1,longlong param_2)
{
int iVar1;
int *piVar2;
int iVar3;
iVar1 = FUN_1401e2a60();
if (iVar1 != 0) {
return 0xd;
}
if ((param_2 != 0) && (*param_1 != 0)) {
iVar1 = FUN_140200ef0(param_2);
iVar3 = 0;
piVar2 = &DAT_140291650;
do {
if (iVar1 == *piVar2) {
return *(undefined4 *)(&DAT_140291654 + (longlong)iVar3 * 8);
}
piVar2 = piVar2 + 2;
iVar3 = iVar3 + 1;
} while ((longlong)piVar2 < 0x140291668);
return 1;
}
return 0x10;
}