add agent manager release decomp
This commit is contained in:
parent
31ff800b2a
commit
fac6117145
7019 changed files with 254032 additions and 5 deletions
54
decomp/AgentManager_Release_x64/full/functions/0x14009bfa0.c
Normal file
54
decomp/AgentManager_Release_x64/full/functions/0x14009bfa0.c
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
/* 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;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue