54 lines
1.3 KiB
C
54 lines
1.3 KiB
C
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
|
* Ghidra 12.1.2 decompiler output for 0x14009bfa0 FUN_14009bfa0
|
|
* Pseudocode, not original source. */
|
|
|
|
undefined8 FUN_14009bfa0(longlong param_1,undefined1 *param_2)
|
|
|
|
{
|
|
longlong lVar1;
|
|
int *piVar2;
|
|
undefined8 uVar3;
|
|
undefined1 uVar4;
|
|
|
|
piVar2 = (int *)(**(code **)(*(longlong *)(param_1 + -0x70) + 0x58))();
|
|
FUN_14003d040(piVar2);
|
|
if ((*(longlong **)(param_1 + 0x1500) == (longlong *)0x0) ||
|
|
(lVar1 = **(longlong **)(param_1 + 0x1500), lVar1 == 0)) {
|
|
uVar4 = 0;
|
|
}
|
|
else {
|
|
uVar4 = *(undefined1 *)(lVar1 + 0x80);
|
|
}
|
|
*param_2 = uVar4;
|
|
if ((*(longlong **)(param_1 + 0x560) == (longlong *)0x0) ||
|
|
(lVar1 = **(longlong **)(param_1 + 0x560), lVar1 == 0)) goto switchD_14009c039_default;
|
|
switch(*(undefined4 *)(lVar1 + 0x100)) {
|
|
case 0:
|
|
FUN_14003d0d0((longlong)piVar2);
|
|
uVar3 = 1;
|
|
break;
|
|
case 1:
|
|
FUN_14003d0d0((longlong)piVar2);
|
|
uVar3 = 1;
|
|
break;
|
|
case 2:
|
|
FUN_14003d0d0((longlong)piVar2);
|
|
uVar3 = 2;
|
|
break;
|
|
case 3:
|
|
FUN_14003d0d0((longlong)piVar2);
|
|
uVar3 = 2;
|
|
break;
|
|
case 4:
|
|
FUN_14003d0d0((longlong)piVar2);
|
|
uVar3 = 3;
|
|
break;
|
|
case 5:
|
|
default:
|
|
switchD_14009c039_default:
|
|
FUN_14003d0d0((longlong)piVar2);
|
|
uVar3 = 0;
|
|
}
|
|
return uVar3;
|
|
}
|
|
|