decomp DBCServer_Release and inspect/document database

This commit is contained in:
Benjamin Palko 2026-10-14 23:22:03 -04:00
parent 4b267cbe05
commit 7834b98bf0
28222 changed files with 843300 additions and 144 deletions

View file

@ -0,0 +1,52 @@
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x14019d400 FUN_14019d400
* Pseudocode, not original source. */
undefined4 FUN_14019d400(longlong param_1,int param_2)
{
undefined4 uVar1;
int iVar2;
undefined8 uVar3;
undefined *local_res8;
undefined4 local_res10 [2];
int local_18 [2];
undefined8 local_10;
if (*(char *)(param_1 + 0x1c0) != '\0') {
FUN_14016d8c0();
local_res8 = PTR_DAT_1403440a0;
uVar1 = FUN_14016d740(L"WARNING: IssueRecv is duplicated!");
uVar3 = FUN_14004e940(&local_res8,uVar1);
FUN_14016d770(uVar3,L"WARNING: IssueRecv is duplicated!",uVar1);
FUN_14004e560(&local_res8);
(**(code **)(**(longlong **)(param_1 + 0x18) + 8))
(*(longlong **)(param_1 + 0x18),param_1,&local_res8);
}
if (param_2 < 1) {
return 0x2726;
}
FUN_14004f0e0(param_1 + 0x200,param_2);
local_10 = 0;
if (*(int *)(param_1 + 0x218) != 0) {
local_10 = *(undefined8 *)(param_1 + 0x210);
}
*(undefined4 *)(param_1 + 0x304) = 0;
local_res10[0] = 0;
*(undefined1 *)(param_1 + 0x1c0) = 0;
*(undefined1 *)(param_1 + 0x1c0) = 1;
local_18[0] = param_2;
iVar2 = WSARecv(*(undefined8 *)(param_1 + 0x3d0),local_18,1,local_res10,
(undefined4 *)(param_1 + 0x304),param_1 + 0x180,0);
if (iVar2 != 0) {
iVar2 = Ordinal_111();
if (iVar2 != 0x3e5) {
*(undefined1 *)(param_1 + 0x1c0) = 0;
uVar1 = Ordinal_111();
FUN_14019ce80(param_1,uVar1,L"Proud::CFastSocket::IssueRecv");
return uVar1;
}
}
return 0;
}