37 lines
1.2 KiB
C
37 lines
1.2 KiB
C
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
|
* Ghidra 12.1.2 decompiler output for 0x14004fe80 FUN_14004fe80
|
|
* Pseudocode, not original source. */
|
|
|
|
void FUN_14004fe80(longlong param_1,LPCWSTR param_2,undefined8 param_3,undefined8 param_4)
|
|
|
|
{
|
|
int *piVar1;
|
|
undefined8 *puVar2;
|
|
undefined4 *puVar3;
|
|
|
|
piVar1 = (int *)(**(code **)(*(longlong *)(param_1 + -0xa8) + 0x58))(param_1 + -0xa8);
|
|
FUN_14003d040(piVar1);
|
|
if (DAT_14017614f != '\0') {
|
|
(**(code **)(*(longlong *)(param_1 + -0xa8) + 200))
|
|
(param_1 + -0xa8,L"Proud::CNetServerImpl::EnableLog");
|
|
}
|
|
if (*(longlong *)(param_1 + 0x1748) == 0) {
|
|
puVar2 = FUN_1400854c0(param_2);
|
|
*(undefined8 **)(param_1 + 0x1748) = puVar2;
|
|
if (*(longlong *)(param_1 + 0xbf0) == 0) {
|
|
puVar3 = (undefined4 *)0x0;
|
|
}
|
|
else {
|
|
puVar3 = *(undefined4 **)(param_1 + 0xbe0);
|
|
}
|
|
for (; puVar3 != (undefined4 *)0x0; puVar3 = *(undefined4 **)(puVar3 + 4)) {
|
|
if (*(longlong *)(*(longlong *)(puVar3 + 2) + 0x228) == 0) {
|
|
(**(code **)(*(longlong *)(param_1 + 0x400) + 0xb0))
|
|
((longlong *)(param_1 + 0x400),*puVar3,&DAT_140177f90);
|
|
}
|
|
}
|
|
}
|
|
FUN_14003d0d0((longlong)piVar1);
|
|
return;
|
|
}
|
|
|