add agent manager release decomp
This commit is contained in:
parent
31ff800b2a
commit
fac6117145
7019 changed files with 254032 additions and 5 deletions
52
decomp/AgentManager_Release_x64/full/functions/0x1400f6840.c
Normal file
52
decomp/AgentManager_Release_x64/full/functions/0x1400f6840.c
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400f6840 Catch@1400f6840
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8
|
||||
Catch_1400f6840(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
int *piVar1;
|
||||
undefined *puVar2;
|
||||
LPCSTR pCVar3;
|
||||
int *piVar4;
|
||||
longlong lVar5;
|
||||
wchar_t *pwVar6;
|
||||
undefined *puVar7;
|
||||
undefined8 uVar8;
|
||||
|
||||
FUN_14003e7c0(param_1,param_2,param_3,param_4);
|
||||
*(undefined **)(param_2 + 0x68) = PTR_DAT_14016f010;
|
||||
pCVar3 = (LPCSTR)(**(code **)(**(longlong **)(param_2 + 0x138) + 8))();
|
||||
*(longlong *)(param_2 + 0x160) = param_2 + 0x168;
|
||||
FUN_140005110((longlong *)(param_2 + 0x160),pCVar3,3);
|
||||
FUN_140029b80((longlong *)(param_2 + 0x68),L"std.exception(%s)",*(undefined8 *)(param_2 + 0x160),
|
||||
param_4);
|
||||
if (*(void **)(param_2 + 0x160) != (void *)(param_2 + 0x168)) {
|
||||
free(*(void **)(param_2 + 0x160));
|
||||
}
|
||||
puVar2 = *(undefined **)(param_2 + 0x68);
|
||||
puVar7 = puVar2;
|
||||
if (puVar2 == (undefined *)0x0) {
|
||||
puVar7 = PTR_DAT_14016f010;
|
||||
}
|
||||
uVar8 = 0;
|
||||
pwVar6 = L"Proud::CNetThreads_S::TcpListenerProc";
|
||||
lVar5 = *(longlong *)(param_2 + 0x48);
|
||||
FUN_1400808d0(lVar5,L"Proud::CNetThreads_S::TcpListenerProc",puVar7,0);
|
||||
if (((puVar2 != (undefined *)0x0) && (puVar2 != PTR_DAT_14016f010)) &&
|
||||
(puVar2 + -8 != (undefined *)0x0)) {
|
||||
piVar4 = (int *)FUN_14003e7c0(lVar5,pwVar6,puVar7,uVar8);
|
||||
*(int **)(param_2 + 0x128) = piVar4;
|
||||
FUN_14003d040(piVar4);
|
||||
*(undefined1 *)(param_2 + 0x130) = 1;
|
||||
piVar1 = (int *)(puVar2 + -4);
|
||||
*piVar1 = *piVar1 + -1;
|
||||
if (*piVar1 == 0) {
|
||||
FUN_14003e8b0(puVar2 + -8);
|
||||
}
|
||||
FUN_14003d0d0((longlong)piVar4);
|
||||
}
|
||||
return 0x140081361;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue