decompiled agent_release
This commit is contained in:
parent
baac905ef2
commit
11a3488883
6439 changed files with 229565 additions and 1 deletions
84
decomp/Agent_Release_x64/full/functions/0x1400b2f80.c
Normal file
84
decomp/Agent_Release_x64/full/functions/0x1400b2f80.c
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400b2f80 FUN_1400b2f80
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 *
|
||||
FUN_1400b2f80(undefined8 *param_1,longlong *param_2,longlong *param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
longlong *plVar1;
|
||||
undefined8 *puVar2;
|
||||
undefined8 *puVar3;
|
||||
undefined8 *puVar4;
|
||||
longlong lVar5;
|
||||
undefined8 **ppuVar6;
|
||||
undefined8 *local_res10;
|
||||
|
||||
*param_1 = Proud::ICompletionContext::vftable;
|
||||
FUN_140034f30(param_1 + 8);
|
||||
*param_1 = Proud::CTcpLayer_C::vftable;
|
||||
param_1[8] = Proud::CTcpLayer_C::vftable;
|
||||
param_1[0x20] = Proud::AddrPort::vftable;
|
||||
puVar4 = (undefined8 *)0x0;
|
||||
*(undefined4 *)(param_1 + 0x21) = 0;
|
||||
*(undefined2 *)((longlong)param_1 + 0x10c) = 0;
|
||||
param_1[0x22] = Proud::AddrPort::vftable;
|
||||
*(undefined4 *)(param_1 + 0x23) = 0;
|
||||
*(undefined2 *)((longlong)param_1 + 0x11c) = 0;
|
||||
param_1[0x25] = 0;
|
||||
lVar5 = (longlong)DAT_1401550ec;
|
||||
FUN_1400bbb90(param_1 + 0x26,lVar5);
|
||||
FUN_14009ef40(param_1 + 0x2e,lVar5,param_3,param_4);
|
||||
*(undefined1 *)(param_1 + 0x10) = 0;
|
||||
*(undefined1 *)(param_1 + 0x18) = 0;
|
||||
param_1[0x24] = param_2;
|
||||
local_res10 = (undefined8 *)FUN_140030280(0x400);
|
||||
puVar3 = puVar4;
|
||||
if (local_res10 != (undefined8 *)0x0) {
|
||||
param_3 = param_2;
|
||||
puVar3 = FUN_140035990(local_res10,0,param_2,param_4);
|
||||
}
|
||||
if (puVar3 == (undefined8 *)0x0) {
|
||||
local_res10 = (undefined8 *)0x0;
|
||||
}
|
||||
else {
|
||||
local_res10 = (undefined8 *)FUN_140030280(0x10);
|
||||
local_res10[1] = 1;
|
||||
*local_res10 = puVar3;
|
||||
}
|
||||
puVar3 = local_res10;
|
||||
ppuVar6 = &local_res10;
|
||||
FUN_140031f40(param_1 + 0x25,(longlong *)ppuVar6);
|
||||
puVar2 = local_res10;
|
||||
if (puVar3 != (undefined8 *)0x0) {
|
||||
plVar1 = puVar3 + 1;
|
||||
*plVar1 = *plVar1 + -1;
|
||||
if (*plVar1 == 0) {
|
||||
plVar1 = (longlong *)*local_res10;
|
||||
if (plVar1 != (longlong *)0x0) {
|
||||
FUN_1400358a0(plVar1,ppuVar6,param_3,param_4);
|
||||
FUN_1400302f0(plVar1);
|
||||
}
|
||||
FUN_1400302f0(puVar2);
|
||||
}
|
||||
}
|
||||
puVar3 = puVar4;
|
||||
if ((undefined8 *)param_1[0x25] != (undefined8 *)0x0) {
|
||||
puVar3 = *(undefined8 **)param_1[0x25];
|
||||
}
|
||||
FUN_140034b90((longlong)puVar3,param_1,param_3,param_4);
|
||||
(**(code **)(*param_2 + 0x10))(param_2);
|
||||
puVar3 = puVar4;
|
||||
if ((undefined8 *)param_1[0x25] != (undefined8 *)0x0) {
|
||||
puVar3 = *(undefined8 **)param_1[0x25];
|
||||
}
|
||||
(**(code **)(*param_2 + 0x40))(param_2,puVar3);
|
||||
if ((undefined8 *)param_1[0x25] != (undefined8 *)0x0) {
|
||||
puVar4 = *(undefined8 **)param_1[0x25];
|
||||
}
|
||||
FUN_14009e950((longlong)puVar4);
|
||||
param_1[0x3e] = 0;
|
||||
param_1[0x3f] = 0;
|
||||
return param_1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue