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