add agent manager release decomp
This commit is contained in:
parent
31ff800b2a
commit
fac6117145
7019 changed files with 254032 additions and 5 deletions
72
decomp/AgentManager_Release_x64/full/functions/0x1400a8160.c
Normal file
72
decomp/AgentManager_Release_x64/full/functions/0x1400a8160.c
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400a8160 FUN_1400a8160
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
ulonglong FUN_1400a8160(longlong *param_1,uint param_2,undefined2 *param_3)
|
||||
|
||||
{
|
||||
undefined8 *puVar1;
|
||||
int *piVar2;
|
||||
undefined8 uVar3;
|
||||
ulonglong uVar4;
|
||||
longlong *local_res8;
|
||||
|
||||
piVar2 = (int *)(**(code **)(*param_1 + 0x58))();
|
||||
FUN_14003d040(piVar2);
|
||||
FUN_1400a7920(param_1,(longlong *)&local_res8,param_2);
|
||||
if ((local_res8 == (longlong *)0x0) || (*local_res8 == 0)) {
|
||||
if (*(uint *)(param_1 + 0x2af) == param_2) {
|
||||
*param_3 = *(undefined2 *)((longlong)param_1 + 0x4da);
|
||||
if ((local_res8 != (longlong *)0x0) &&
|
||||
(local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) {
|
||||
puVar1 = (undefined8 *)*local_res8;
|
||||
if (puVar1 != (undefined8 *)0x0) {
|
||||
(**(code **)*puVar1)(puVar1,1);
|
||||
}
|
||||
FUN_14003e8b0(local_res8);
|
||||
}
|
||||
uVar3 = FUN_14003d0d0((longlong)piVar2);
|
||||
uVar4 = CONCAT71((int7)((ulonglong)uVar3 >> 8),1);
|
||||
}
|
||||
else if (param_2 == 1) {
|
||||
*param_3 = *(undefined2 *)((longlong)param_1 + 0x702);
|
||||
if ((local_res8 != (longlong *)0x0) &&
|
||||
(local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) {
|
||||
puVar1 = (undefined8 *)*local_res8;
|
||||
if (puVar1 != (undefined8 *)0x0) {
|
||||
(**(code **)*puVar1)(puVar1,1);
|
||||
}
|
||||
FUN_14003e8b0(local_res8);
|
||||
}
|
||||
uVar3 = FUN_14003d0d0((longlong)piVar2);
|
||||
uVar4 = CONCAT71((int7)((ulonglong)uVar3 >> 8),1);
|
||||
}
|
||||
else {
|
||||
if ((local_res8 != (longlong *)0x0) &&
|
||||
(local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) {
|
||||
puVar1 = (undefined8 *)*local_res8;
|
||||
if (puVar1 != (undefined8 *)0x0) {
|
||||
(**(code **)*puVar1)(puVar1,1);
|
||||
}
|
||||
FUN_14003e8b0(local_res8);
|
||||
}
|
||||
uVar4 = FUN_14003d0d0((longlong)piVar2);
|
||||
uVar4 = uVar4 & 0xffffffffffffff00;
|
||||
}
|
||||
}
|
||||
else {
|
||||
*param_3 = *(undefined2 *)(*local_res8 + 0x56a);
|
||||
local_res8[1] = local_res8[1] + -1;
|
||||
if (local_res8[1] == 0) {
|
||||
puVar1 = (undefined8 *)*local_res8;
|
||||
if (puVar1 != (undefined8 *)0x0) {
|
||||
(**(code **)*puVar1)(puVar1,1);
|
||||
}
|
||||
FUN_14003e8b0(local_res8);
|
||||
}
|
||||
uVar3 = FUN_14003d0d0((longlong)piVar2);
|
||||
uVar4 = CONCAT71((int7)((ulonglong)uVar3 >> 8),1);
|
||||
}
|
||||
return uVar4;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue