decomp DBCServer_Release and inspect/document database
This commit is contained in:
parent
4b267cbe05
commit
7834b98bf0
28222 changed files with 843300 additions and 144 deletions
57
decomp/DBCServer_Release_x64/full/functions/0x14019d570.c
Normal file
57
decomp/DBCServer_Release_x64/full/functions/0x14019d570.c
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14019d570 FUN_14019d570
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
int FUN_14019d570(longlong param_1,int param_2)
|
||||
|
||||
{
|
||||
undefined4 uVar1;
|
||||
int iVar2;
|
||||
undefined8 uVar3;
|
||||
undefined *local_res8;
|
||||
undefined4 local_res10 [2];
|
||||
int local_38 [2];
|
||||
undefined8 local_30;
|
||||
|
||||
if (*(char *)(param_1 + 0x1c0) != '\0') {
|
||||
FUN_14016d8c0();
|
||||
local_res8 = PTR_DAT_1403440a0;
|
||||
uVar1 = FUN_14016d740(L"WARNING: IssueRecvFrom is duplicated!");
|
||||
uVar3 = FUN_14004e940(&local_res8,uVar1);
|
||||
FUN_14016d770(uVar3,L"WARNING: IssueRecvFrom is duplicated!",uVar1);
|
||||
FUN_14004e560(&local_res8);
|
||||
(**(code **)(**(longlong **)(param_1 + 0x18) + 8))
|
||||
(*(longlong **)(param_1 + 0x18),param_1,&local_res8);
|
||||
}
|
||||
if (0 < param_2) {
|
||||
FUN_14004f0e0(param_1 + 0x200,param_2);
|
||||
local_30 = 0;
|
||||
if (*(int *)(param_1 + 0x218) != 0) {
|
||||
local_30 = *(undefined8 *)(param_1 + 0x210);
|
||||
}
|
||||
local_res10[0] = 0;
|
||||
*(undefined4 *)(param_1 + 0x304) = 0;
|
||||
local_38[0] = param_2;
|
||||
while( true ) {
|
||||
*(undefined4 *)(param_1 + 0x300) = 0x10;
|
||||
*(undefined1 *)(param_1 + 0x1c0) = *(undefined1 *)(param_1 + 0x1c0);
|
||||
*(undefined1 *)(param_1 + 0x1c0) = 1;
|
||||
iVar2 = WSARecvFrom(*(undefined8 *)(param_1 + 0x3d0),local_38,1,local_res10,
|
||||
(undefined4 *)(param_1 + 0x304),param_1 + 0x2f0,
|
||||
(undefined4 *)(param_1 + 0x300),param_1 + 0x180,0);
|
||||
if (iVar2 == 0) {
|
||||
return 0;
|
||||
}
|
||||
iVar2 = Ordinal_111();
|
||||
if (iVar2 == 0x3e5) break;
|
||||
if (((iVar2 != 0x2738) && (iVar2 != 0x2744)) && (iVar2 != 0x2746)) {
|
||||
*(undefined1 *)(param_1 + 0x1c0) = 0;
|
||||
FUN_14019ce80(param_1,iVar2,L"Proud::CFastSocket::IssueRecvFrom");
|
||||
return iVar2;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
return 0x2726;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue