33 lines
954 B
C
33 lines
954 B
C
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
|
* Ghidra 12.1.2 decompiler output for 0x1400a8c10 FUN_1400a8c10
|
|
* Pseudocode, not original source. */
|
|
|
|
void FUN_1400a8c10(longlong *param_1,uint param_2)
|
|
|
|
{
|
|
int *piVar1;
|
|
undefined8 *puVar2;
|
|
int *piVar3;
|
|
longlong *local_res8;
|
|
|
|
piVar3 = (int *)(**(code **)(*param_1 + 0x58))();
|
|
FUN_14003d040(piVar3);
|
|
FUN_1400a7920(param_1,(longlong *)&local_res8,param_2);
|
|
if (local_res8 != (longlong *)0x0) {
|
|
if (*local_res8 != 0) {
|
|
piVar1 = (int *)(*local_res8 + 0x680);
|
|
*piVar1 = *piVar1 + -1;
|
|
}
|
|
if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0))
|
|
{
|
|
puVar2 = (undefined8 *)*local_res8;
|
|
if (puVar2 != (undefined8 *)0x0) {
|
|
(**(code **)*puVar2)(puVar2,1);
|
|
}
|
|
FUN_14003e8b0(local_res8);
|
|
}
|
|
}
|
|
FUN_14003d0d0((longlong)piVar3);
|
|
return;
|
|
}
|
|
|