add agent manager release decomp
This commit is contained in:
parent
31ff800b2a
commit
fac6117145
7019 changed files with 254032 additions and 5 deletions
37
decomp/AgentManager_Release_x64/full/functions/0x140005af0.c
Normal file
37
decomp/AgentManager_Release_x64/full/functions/0x140005af0.c
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x140005af0 FUN_140005af0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_140005af0(undefined8 param_1,undefined8 *param_2,undefined8 param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
int *piVar1;
|
||||
undefined8 *puVar2;
|
||||
int *piVar3;
|
||||
longlong lVar4;
|
||||
wchar_t *pwVar5;
|
||||
ulonglong uVar6;
|
||||
undefined8 uVar7;
|
||||
undefined *local_res10 [3];
|
||||
|
||||
puVar2 = (undefined8 *)
|
||||
(**(code **)*param_2)(param_2,local_res10,param_3,param_4,0xfffffffffffffffe);
|
||||
uVar7 = *puVar2;
|
||||
uVar6 = (ulonglong)*(uint *)(param_2 + 6);
|
||||
pwVar5 = L"AGENT CONNECT : HostID:[%d][%s]";
|
||||
lVar4 = DAT_14017c8a8;
|
||||
FUN_1400ef250(DAT_14017c8a8,L"AGENT CONNECT : HostID:[%d][%s]",uVar6,uVar7);
|
||||
if (((local_res10[0] != (undefined *)0x0) && (local_res10[0] != PTR_DAT_14016f010)) &&
|
||||
(local_res10[0] + -8 != (undefined *)0x0)) {
|
||||
piVar3 = (int *)FUN_14003e7c0(lVar4,pwVar5,uVar6,uVar7);
|
||||
FUN_14003d040(piVar3);
|
||||
piVar1 = (int *)(local_res10[0] + -4);
|
||||
*piVar1 = *piVar1 + -1;
|
||||
if (*piVar1 == 0) {
|
||||
FUN_14003e8b0(local_res10[0] + -8);
|
||||
}
|
||||
FUN_14003d0d0((longlong)piVar3);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue