server-re/decomp/AgentManager_Release_x64/full/functions/0x1400b7510.c
2026-10-15 09:58:24 -04:00

22 lines
539 B
C

/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
* Ghidra 12.1.2 decompiler output for 0x1400b7510 FUN_1400b7510
* Pseudocode, not original source. */
undefined4 FUN_1400b7510(int param_1)
{
int *piVar1;
int iVar2;
iVar2 = 0;
piVar1 = &DAT_140121b80;
do {
if (param_1 == *piVar1) {
return *(undefined4 *)(&DAT_140121b84 + (longlong)iVar2 * 8);
}
piVar1 = piVar1 + 2;
iVar2 = iVar2 + 1;
} while ((longlong)piVar1 < 0x140121b98);
return 1;
}