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
56
decomp/DBCServer_Release_x64/full/functions/0x1401f2e20.c
Normal file
56
decomp/DBCServer_Release_x64/full/functions/0x1401f2e20.c
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401f2e20 FUN_1401f2e20
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_1401f2e20(longlong param_1,undefined8 *param_2)
|
||||
|
||||
{
|
||||
bool bVar1;
|
||||
undefined4 uVar2;
|
||||
undefined *puVar3;
|
||||
undefined8 uVar4;
|
||||
undefined *local_res18 [2];
|
||||
|
||||
uVar4 = 0;
|
||||
puVar3 = (undefined *)
|
||||
__RTDynamicCast(*param_2,0,&Proud::ICompletionContext::RTTI_Type_Descriptor,
|
||||
&Proud::CUdpSocket_C::RTTI_Type_Descriptor,0);
|
||||
if (puVar3 == (undefined *)0x0) {
|
||||
uVar4 = 0;
|
||||
}
|
||||
else {
|
||||
param_1 = param_1 + 0x10;
|
||||
local_res18[0] = puVar3;
|
||||
FUN_14016db50(param_1);
|
||||
bVar1 = true;
|
||||
if (*(int *)(param_2 + 2) == 1) {
|
||||
if (*(undefined8 **)(*(longlong *)(puVar3 + 0x118) + 0x5d0) != (undefined8 *)0x0) {
|
||||
uVar4 = **(undefined8 **)(*(longlong *)(puVar3 + 0x118) + 0x5d0);
|
||||
}
|
||||
FUN_1401ea9a0(uVar4,puVar3,param_2);
|
||||
}
|
||||
else if (*(int *)(param_2 + 2) == 2) {
|
||||
if (*(undefined8 **)(*(longlong *)(puVar3 + 0x118) + 0x5d0) != (undefined8 *)0x0) {
|
||||
uVar4 = **(undefined8 **)(*(longlong *)(puVar3 + 0x118) + 0x5d0);
|
||||
}
|
||||
FUN_1401f2000(uVar4,puVar3,param_2);
|
||||
}
|
||||
else {
|
||||
FUN_14016dbe0(param_1);
|
||||
bVar1 = false;
|
||||
FUN_14016d8c0();
|
||||
local_res18[0] = PTR_DAT_1403440a0;
|
||||
uVar2 = FUN_14016d740(L"Unexpected at Client IOCP UDP completion!");
|
||||
uVar4 = FUN_14004e940(local_res18,uVar2);
|
||||
FUN_14016d770(uVar4,L"Unexpected at Client IOCP UDP completion!",uVar2);
|
||||
FUN_14004e560(local_res18);
|
||||
FUN_1401be230(local_res18);
|
||||
}
|
||||
if (bVar1) {
|
||||
FUN_14016dbe0(param_1);
|
||||
}
|
||||
uVar4 = 1;
|
||||
}
|
||||
return uVar4;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue