36 lines
1 KiB
C
36 lines
1 KiB
C
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
|
* Ghidra 12.1.2 decompiler output for 0x14019c2f0 FUN_14019c2f0
|
|
* Pseudocode, not original source. */
|
|
|
|
undefined8 FUN_14019c2f0(longlong param_1,undefined1 param_2,undefined4 *param_3)
|
|
|
|
{
|
|
int iVar1;
|
|
int iVar2;
|
|
undefined4 uVar3;
|
|
undefined4 local_res8 [2];
|
|
undefined4 local_res20 [2];
|
|
|
|
if ((*(int *)(param_1 + 0x180) != 0x103) && (*(char *)(param_1 + 0x1c0) != '\0')) {
|
|
iVar1 = WSAGetOverlappedResult
|
|
(*(undefined8 *)(param_1 + 0x3d0),(int *)(param_1 + 0x180),local_res20,param_2
|
|
,local_res8);
|
|
if (iVar1 == 0) {
|
|
iVar2 = Ordinal_111();
|
|
if (iVar2 == 0x3e4) {
|
|
return 0;
|
|
}
|
|
}
|
|
*param_3 = local_res8[0];
|
|
param_3[6] = local_res20[0];
|
|
if (iVar1 == 0) {
|
|
uVar3 = Ordinal_111();
|
|
param_3[1] = uVar3;
|
|
}
|
|
*(undefined1 *)(param_1 + 0x1c0) = 0;
|
|
FUN_14016f840(param_3 + 2,param_1 + 0x2f0);
|
|
return 1;
|
|
}
|
|
return 0;
|
|
}
|
|
|