add agent manager release decomp
This commit is contained in:
parent
31ff800b2a
commit
fac6117145
7019 changed files with 254032 additions and 5 deletions
36
decomp/AgentManager_Release_x64/full/functions/0x1400e1620.c
Normal file
36
decomp/AgentManager_Release_x64/full/functions/0x1400e1620.c
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400e1620 FUN_1400e1620
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
bool FUN_1400e1620(uint *param_1)
|
||||
|
||||
{
|
||||
uint uVar1;
|
||||
int *piVar2;
|
||||
ulonglong uVar3;
|
||||
int iVar4;
|
||||
|
||||
uVar1 = *param_1;
|
||||
uVar3 = (ulonglong)uVar1;
|
||||
if (uVar1 != 0) {
|
||||
if (uVar1 == 1) {
|
||||
return true;
|
||||
}
|
||||
if (1 < (int)uVar1) {
|
||||
iVar4 = 0;
|
||||
if (0 < (int)uVar1) {
|
||||
piVar2 = *(int **)(param_1 + 4);
|
||||
do {
|
||||
if (*piVar2 == 0xfffffff) {
|
||||
iVar4 = iVar4 + 1;
|
||||
}
|
||||
piVar2 = piVar2 + 1;
|
||||
uVar3 = uVar3 - 1;
|
||||
} while (uVar3 != 0);
|
||||
}
|
||||
return (int)uVar1 / 2 <= iVar4;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue