decompiled agent_release
This commit is contained in:
parent
baac905ef2
commit
11a3488883
6439 changed files with 229565 additions and 1 deletions
52
decomp/Agent_Release_x64/full/functions/0x1400e8430.c
Normal file
52
decomp/Agent_Release_x64/full/functions/0x1400e8430.c
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400e8430 Catch@1400e8430
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8
|
||||
Catch_1400e8430(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_140030200(param_1,param_2,param_3,param_4);
|
||||
*(undefined **)(param_2 + 0x68) = PTR_DAT_140155010;
|
||||
pCVar3 = (LPCSTR)(**(code **)(**(longlong **)(param_2 + 0x138) + 8))();
|
||||
*(longlong *)(param_2 + 0x160) = param_2 + 0x168;
|
||||
FUN_14002a670((longlong *)(param_2 + 0x160),pCVar3,3);
|
||||
FUN_14001b7a0((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_140155010;
|
||||
}
|
||||
uVar8 = 0;
|
||||
pwVar6 = L"Proud::CNetThreads_S::TcpListenerProc";
|
||||
lVar5 = *(longlong *)(param_2 + 0x48);
|
||||
FUN_14008b960(lVar5,L"Proud::CNetThreads_S::TcpListenerProc",puVar7,0);
|
||||
if (((puVar2 != (undefined *)0x0) && (puVar2 != PTR_DAT_140155010)) &&
|
||||
(puVar2 + -8 != (undefined *)0x0)) {
|
||||
piVar4 = (int *)FUN_140030200(lVar5,pwVar6,puVar7,uVar8);
|
||||
*(int **)(param_2 + 0x128) = piVar4;
|
||||
FUN_14002e6e0(piVar4);
|
||||
*(undefined1 *)(param_2 + 0x130) = 1;
|
||||
piVar1 = (int *)(puVar2 + -4);
|
||||
*piVar1 = *piVar1 + -1;
|
||||
if (*piVar1 == 0) {
|
||||
FUN_1400302f0(puVar2 + -8);
|
||||
}
|
||||
FUN_14002e770((longlong)piVar4);
|
||||
}
|
||||
return 0x14008c3f1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue