add agent manager release decomp
This commit is contained in:
parent
31ff800b2a
commit
fac6117145
7019 changed files with 254032 additions and 5 deletions
41
decomp/AgentManager_Release_x64/full/functions/0x1400e3ae0.c
Normal file
41
decomp/AgentManager_Release_x64/full/functions/0x1400e3ae0.c
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400e3ae0 FUN_1400e3ae0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_1400e3ae0(uint *param_1,uint param_2,uint *param_3)
|
||||
|
||||
{
|
||||
uint *puVar1;
|
||||
int iVar2;
|
||||
undefined8 uVar3;
|
||||
int iVar4;
|
||||
longlong lVar5;
|
||||
|
||||
if ((int)param_2 < 1) {
|
||||
FUN_1400ddd40(param_3);
|
||||
return 0;
|
||||
}
|
||||
if ((int)(*param_1 * 0x1c) <= (int)param_2) {
|
||||
uVar3 = FUN_1400d5ca0(param_1,param_3);
|
||||
return uVar3;
|
||||
}
|
||||
uVar3 = FUN_1400d5ca0(param_1,param_3);
|
||||
if ((int)uVar3 == 0) {
|
||||
iVar2 = (int)param_2 / 0x1c;
|
||||
iVar4 = (uint)(param_2 != iVar2 * 0x1c) + iVar2;
|
||||
if (iVar4 < (int)*param_3) {
|
||||
lVar5 = (longlong)iVar4 << 2;
|
||||
do {
|
||||
iVar4 = iVar4 + 1;
|
||||
*(undefined4 *)(lVar5 + *(longlong *)(param_3 + 4)) = 0;
|
||||
lVar5 = lVar5 + 4;
|
||||
} while (iVar4 < (int)*param_3);
|
||||
}
|
||||
puVar1 = (uint *)(*(longlong *)(param_3 + 4) + (longlong)iVar2 * 4);
|
||||
*puVar1 = *puVar1 & (1 << ((char)param_2 + (char)(param_2 / 0x1c) * -0x1c & 0x1fU)) - 1U;
|
||||
FUN_1400ddc00((int *)param_3);
|
||||
uVar3 = 0;
|
||||
}
|
||||
return uVar3;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue