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

27 lines
679 B
C

/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x1401e3220 FUN_1401e3220
* Pseudocode, not original source. */
undefined4 FUN_1401e3220(longlong param_1,longlong param_2)
{
int iVar1;
int *piVar2;
int iVar3;
if ((param_1 != 0) && (param_2 != 0)) {
iVar1 = FUN_140201a20();
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;
}