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/0x1401d3530.c
Normal file
56
decomp/DBCServer_Release_x64/full/functions/0x1401d3530.c
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401d3530 FUN_1401d3530
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
ulonglong FUN_1401d3530(longlong param_1,int param_2,longlong param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
undefined8 *puVar1;
|
||||
char cVar2;
|
||||
undefined8 uVar3;
|
||||
longlong *plVar4;
|
||||
ulonglong uVar5;
|
||||
longlong lVar6;
|
||||
longlong *local_res8;
|
||||
undefined8 uVar7;
|
||||
undefined8 uVar8;
|
||||
|
||||
uVar7 = 0xfffffffffffffffe;
|
||||
plVar4 = (longlong *)(param_1 + -0x70);
|
||||
uVar3 = (**(code **)(*plVar4 + 0x58))(plVar4);
|
||||
uVar8 = uVar3;
|
||||
FUN_14016db50(uVar3);
|
||||
if (param_2 != 1) {
|
||||
plVar4 = (longlong *)FUN_1401d2620(plVar4,&local_res8,param_2,param_4,uVar7,uVar8,1);
|
||||
lVar6 = 0;
|
||||
if ((longlong *)*plVar4 != (longlong *)0x0) {
|
||||
lVar6 = *(longlong *)*plVar4;
|
||||
}
|
||||
if ((local_res8 != (longlong *)0x0) &&
|
||||
(local_res8[1] = local_res8[1] + -1, uVar3 = uVar8, local_res8[1] == 0)) {
|
||||
puVar1 = (undefined8 *)*local_res8;
|
||||
if (puVar1 != (undefined8 *)0x0) {
|
||||
(**(code **)*puVar1)(puVar1,1);
|
||||
uVar3 = uVar8;
|
||||
}
|
||||
FUN_14016d970(local_res8);
|
||||
}
|
||||
if (lVar6 != 0) {
|
||||
*(undefined1 *)(lVar6 + 0x21) = 1;
|
||||
FUN_1401fa7b0(lVar6,param_3);
|
||||
cVar2 = FUN_14016f870(param_3);
|
||||
if (((cVar2 == '\0') || (cVar2 = FUN_14016f870(param_3 + 0x10), cVar2 == '\0')) ||
|
||||
(cVar2 = FUN_14016f870(param_3 + 0x20), cVar2 == '\0')) {
|
||||
uVar5 = 0;
|
||||
}
|
||||
else {
|
||||
uVar5 = 1;
|
||||
}
|
||||
FUN_14016dbe0(uVar3);
|
||||
return uVar5;
|
||||
}
|
||||
}
|
||||
uVar5 = FUN_14016dbe0(uVar3);
|
||||
return uVar5 & 0xffffffffffffff00;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue