38 lines
839 B
C
38 lines
839 B
C
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
|
* Ghidra 12.1.2 decompiler output for 0x1400e0ff0 FUN_1400e0ff0
|
|
* Pseudocode, not original source. */
|
|
|
|
undefined8 FUN_1400e0ff0(int *param_1)
|
|
|
|
{
|
|
int iVar1;
|
|
uint uVar2;
|
|
uint *puVar3;
|
|
int iVar4;
|
|
|
|
iVar1 = *param_1;
|
|
if (iVar1 == 0) {
|
|
return 0;
|
|
}
|
|
if ((iVar1 != 1) && (1 < iVar1)) {
|
|
iVar1 = FUN_1400d5e50(param_1);
|
|
iVar4 = 0x1c;
|
|
uVar2 = 1;
|
|
if (0x1c < iVar1) {
|
|
puVar3 = (uint *)(*(longlong *)(param_1 + 4) + 4);
|
|
do {
|
|
if ((*puVar3 & uVar2) == 0) {
|
|
return 0;
|
|
}
|
|
uVar2 = uVar2 * 2;
|
|
if (0xfffffff < uVar2) {
|
|
puVar3 = puVar3 + 1;
|
|
uVar2 = 1;
|
|
}
|
|
iVar4 = iVar4 + 1;
|
|
} while (iVar4 < iVar1);
|
|
}
|
|
}
|
|
return 1;
|
|
}
|
|
|