37 lines
1.2 KiB
C
37 lines
1.2 KiB
C
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
|
* Ghidra 12.1.2 decompiler output for 0x14007ed20 FUN_14007ed20
|
|
* Pseudocode, not original source. */
|
|
|
|
void FUN_14007ed20(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_14006b350(piVar1);
|
|
if (DAT_1401b42cf != '\0') {
|
|
(**(code **)(*(longlong *)(param_1 + -0xa8) + 200))
|
|
(param_1 + -0xa8,L"Proud::CNetServerImpl::EnableLog");
|
|
}
|
|
if (*(longlong *)(param_1 + 0x1748) == 0) {
|
|
puVar2 = FUN_1400cc7f0(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_1401b6110);
|
|
}
|
|
}
|
|
}
|
|
FUN_14006b3e0((longlong)piVar1);
|
|
return;
|
|
}
|
|
|