add agent manager release decomp
This commit is contained in:
parent
31ff800b2a
commit
fac6117145
7019 changed files with 254032 additions and 5 deletions
44
decomp/AgentManager_Release_x64/full/functions/0x1400d5ca0.c
Normal file
44
decomp/AgentManager_Release_x64/full/functions/0x1400d5ca0.c
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400d5ca0 FUN_1400d5ca0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_1400d5ca0(uint *param_1,uint *param_2)
|
||||
|
||||
{
|
||||
undefined8 uVar1;
|
||||
int iVar2;
|
||||
undefined4 *puVar3;
|
||||
undefined4 *puVar4;
|
||||
undefined4 *puVar5;
|
||||
|
||||
if (param_1 != param_2) {
|
||||
if (((int)param_2[1] < (int)*param_1) &&
|
||||
(uVar1 = FUN_1400ddb60((longlong)param_2,*param_1), (int)uVar1 != 0)) {
|
||||
return uVar1;
|
||||
}
|
||||
puVar5 = *(undefined4 **)(param_1 + 4);
|
||||
puVar4 = *(undefined4 **)(param_2 + 4);
|
||||
iVar2 = 0;
|
||||
puVar3 = puVar4;
|
||||
if (0 < (int)*param_1) {
|
||||
do {
|
||||
iVar2 = iVar2 + 1;
|
||||
puVar4 = puVar3 + 1;
|
||||
*puVar3 = *puVar5;
|
||||
puVar5 = puVar5 + 1;
|
||||
puVar3 = puVar4;
|
||||
} while (iVar2 < (int)*param_1);
|
||||
}
|
||||
if (iVar2 < (int)*param_2) {
|
||||
do {
|
||||
*puVar4 = 0;
|
||||
iVar2 = iVar2 + 1;
|
||||
puVar4 = puVar4 + 1;
|
||||
} while (iVar2 < (int)*param_2);
|
||||
}
|
||||
*param_2 = *param_1;
|
||||
param_2[2] = param_1[2];
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue