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

27 lines
622 B
C

/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x1401e2df0 FUN_1401e2df0
* Pseudocode, not original source. */
undefined4 FUN_1401e2df0(longlong param_1)
{
int iVar1;
int *piVar2;
int iVar3;
if (param_1 == 0) {
return 0x10;
}
iVar1 = FUN_140201140();
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;
}