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
59
decomp/DBCServer_Release_x64/full/functions/0x1401bdf00.c
Normal file
59
decomp/DBCServer_Release_x64/full/functions/0x1401bdf00.c
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401bdf00 FUN_1401bdf00
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_1401bdf00(undefined4 *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
undefined *puVar1;
|
||||
char cVar2;
|
||||
undefined8 uVar3;
|
||||
int iVar4;
|
||||
undefined8 local_res8;
|
||||
undefined8 local_30;
|
||||
undefined **local_28;
|
||||
undefined4 local_20;
|
||||
undefined2 local_1c;
|
||||
int local_18;
|
||||
|
||||
local_28 = Proud::AddrPort::vftable;
|
||||
uVar3 = 0;
|
||||
iVar4 = 0;
|
||||
local_18 = 0;
|
||||
local_30 = 0;
|
||||
local_20 = DAT_140344450;
|
||||
local_1c = DAT_140344454;
|
||||
if (*(undefined8 **)(param_1 + 4) != (undefined8 *)0x0) {
|
||||
uVar3 = **(undefined8 **)(param_1 + 4);
|
||||
}
|
||||
cVar2 = FUN_14019c560(uVar3,0,&local_30,param_4,0xfffffffffffffffe);
|
||||
if (cVar2 != '\0') {
|
||||
if ((local_30._4_4_ == 0) && (local_18 != 0)) {
|
||||
param_1[10] = param_1[10] + local_18;
|
||||
puVar1 = *(undefined **)(param_1 + 8);
|
||||
if (puVar1 != (undefined *)0x0) {
|
||||
if (puVar1 == PTR_DAT_140344098) {
|
||||
iVar4 = 0;
|
||||
}
|
||||
else {
|
||||
iVar4 = *(int *)(puVar1 + -8);
|
||||
}
|
||||
}
|
||||
if ((int)param_1[10] < iVar4 + 1) {
|
||||
FUN_1401bcb10(param_1);
|
||||
}
|
||||
else {
|
||||
*param_1 = 3;
|
||||
local_res8 = 0;
|
||||
FUN_1401786c0(param_1 + 4,&local_res8);
|
||||
}
|
||||
}
|
||||
else {
|
||||
*param_1 = 3;
|
||||
local_res8 = 0;
|
||||
FUN_1401786c0(param_1 + 4,&local_res8);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue