33 lines
885 B
C
33 lines
885 B
C
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
|
* Ghidra 12.1.2 decompiler output for 0x140006e80 FUN_140006e80
|
|
* Pseudocode, not original source. */
|
|
|
|
void FUN_140006e80(longlong *param_1)
|
|
|
|
{
|
|
int *piVar1;
|
|
undefined *puVar2;
|
|
int *piVar3;
|
|
undefined8 in_RDX;
|
|
undefined8 in_R8;
|
|
undefined8 in_R9;
|
|
|
|
puVar2 = (undefined *)*param_1;
|
|
if (((puVar2 == (undefined *)0x0) || (puVar2 == PTR_DAT_14016f008)) ||
|
|
(puVar2 + -8 == (undefined *)0x0)) {
|
|
*param_1 = (longlong)PTR_DAT_14016f008;
|
|
}
|
|
else {
|
|
piVar3 = (int *)FUN_14003e7c0(puVar2,in_RDX,in_R8,in_R9);
|
|
FUN_14003d040(piVar3);
|
|
piVar1 = (int *)(puVar2 + -4);
|
|
*piVar1 = *piVar1 + -1;
|
|
if (*piVar1 == 0) {
|
|
FUN_14003e8b0(puVar2 + -8);
|
|
}
|
|
FUN_14003d0d0((longlong)piVar3);
|
|
*param_1 = (longlong)PTR_DAT_14016f008;
|
|
}
|
|
return;
|
|
}
|
|
|