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
81
decomp/DBCServer_Release_x64/full/functions/0x1401f9f90.c
Normal file
81
decomp/DBCServer_Release_x64/full/functions/0x1401f9f90.c
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401f9f90 FUN_1401f9f90
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 *
|
||||
FUN_1401f9f90(undefined8 *param_1,longlong *param_2,undefined8 param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
longlong *plVar1;
|
||||
longlong *plVar2;
|
||||
longlong lVar3;
|
||||
longlong lVar4;
|
||||
longlong *local_res10;
|
||||
undefined8 uVar5;
|
||||
|
||||
uVar5 = 0xfffffffffffffffe;
|
||||
*param_1 = Proud::ICompletionContext::vftable;
|
||||
FUN_14019c0d0(param_1 + 8);
|
||||
*param_1 = Proud::CTcpLayer_C::vftable;
|
||||
param_1[8] = Proud::CTcpLayer_C::vftable;
|
||||
param_1[0x20] = Proud::AddrPort::vftable;
|
||||
lVar4 = 0;
|
||||
*(undefined4 *)(param_1 + 0x21) = 0;
|
||||
*(undefined2 *)((longlong)param_1 + 0x10c) = 0;
|
||||
param_1[0x22] = Proud::AddrPort::vftable;
|
||||
*(undefined4 *)(param_1 + 0x23) = 0;
|
||||
*(undefined2 *)((longlong)param_1 + 0x11c) = 0;
|
||||
param_1[0x25] = 0;
|
||||
FUN_1401c5a60(param_1 + 0x26,(longlong)DAT_140344d1c);
|
||||
FUN_1401bf470(param_1 + 0x2e);
|
||||
*(undefined1 *)(param_1 + 0x10) = 0;
|
||||
*(undefined1 *)(param_1 + 0x18) = 0;
|
||||
param_1[0x24] = param_2;
|
||||
local_res10 = (longlong *)FUN_14016d940(0x400);
|
||||
lVar3 = lVar4;
|
||||
if (local_res10 != (longlong *)0x0) {
|
||||
lVar3 = FUN_14019cad0(local_res10,0,param_2,param_4,uVar5);
|
||||
}
|
||||
if (lVar3 == 0) {
|
||||
local_res10 = (longlong *)0x0;
|
||||
}
|
||||
else {
|
||||
local_res10 = (longlong *)FUN_14016d940(0x10);
|
||||
local_res10[1] = 1;
|
||||
*local_res10 = lVar3;
|
||||
}
|
||||
plVar1 = local_res10;
|
||||
FUN_1401786c0(param_1 + 0x25,&local_res10);
|
||||
plVar2 = local_res10;
|
||||
if (plVar1 != (longlong *)0x0) {
|
||||
plVar1 = plVar1 + 1;
|
||||
*plVar1 = *plVar1 + -1;
|
||||
if (*plVar1 == 0) {
|
||||
lVar3 = *local_res10;
|
||||
if (lVar3 != 0) {
|
||||
FUN_14019c9e0(lVar3);
|
||||
FUN_14016d970(lVar3);
|
||||
}
|
||||
FUN_14016d970(plVar2);
|
||||
}
|
||||
}
|
||||
lVar3 = lVar4;
|
||||
if ((longlong *)param_1[0x25] != (longlong *)0x0) {
|
||||
lVar3 = *(longlong *)param_1[0x25];
|
||||
}
|
||||
FUN_14019bd30(lVar3,param_1);
|
||||
(**(code **)(*param_2 + 0x10))(param_2);
|
||||
lVar3 = lVar4;
|
||||
if ((longlong *)param_1[0x25] != (longlong *)0x0) {
|
||||
lVar3 = *(longlong *)param_1[0x25];
|
||||
}
|
||||
(**(code **)(*param_2 + 0x40))(param_2,lVar3);
|
||||
if ((longlong *)param_1[0x25] != (longlong *)0x0) {
|
||||
lVar4 = *(longlong *)param_1[0x25];
|
||||
}
|
||||
FUN_1401bed80(lVar4);
|
||||
param_1[0x3e] = 0;
|
||||
param_1[0x3f] = 0;
|
||||
return param_1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue