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
46
decomp/DBCServer_Release_x64/full/functions/0x1401eb0e0.c
Normal file
46
decomp/DBCServer_Release_x64/full/functions/0x1401eb0e0.c
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401eb0e0 FUN_1401eb0e0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_1401eb0e0(longlong param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
int *piVar1;
|
||||
int iVar2;
|
||||
undefined *puVar3;
|
||||
undefined8 uVar4;
|
||||
longlong *plVar5;
|
||||
undefined1 local_res8;
|
||||
undefined7 uStackX_9;
|
||||
|
||||
if (*(char *)(*(longlong *)(param_1 + 0x108) + 0x650) == '\0') {
|
||||
plVar5 = (longlong *)(*(longlong *)(param_1 + 0x108) + 0x70);
|
||||
local_res8 = 0;
|
||||
iVar2 = (**(code **)(*plVar5 + 0x108))(plVar5,&local_res8,param_3,param_4,0xfffffffffffffffe);
|
||||
if ((iVar2 == 2) && (*(int *)(*(longlong *)(param_1 + 0x108) + 0x1578) != 0)) {
|
||||
plVar5 = (longlong *)(*(longlong *)(param_1 + 0x108) + 0x70);
|
||||
(**(code **)(*plVar5 + 0xb0))(plVar5,&local_res8);
|
||||
puVar3 = (undefined *)CONCAT71(uStackX_9,local_res8);
|
||||
if ((puVar3 != (undefined *)0x0) &&
|
||||
((puVar3 != PTR_DAT_1403440a0 && (0 < *(int *)(puVar3 + -8))))) {
|
||||
*(undefined1 *)(*(longlong *)(param_1 + 0x108) + 0x650) = 1;
|
||||
plVar5 = (longlong *)(*(longlong *)(param_1 + 0x108) + 0x1818);
|
||||
(**(code **)(*plVar5 + 0xf0))(plVar5,1,&DAT_14034c4b0,&local_res8);
|
||||
puVar3 = (undefined *)CONCAT71(uStackX_9,local_res8);
|
||||
}
|
||||
if (((puVar3 != (undefined *)0x0) && (puVar3 != PTR_DAT_1403440a0)) &&
|
||||
(puVar3 + -8 != (undefined *)0x0)) {
|
||||
uVar4 = FUN_14016d8c0();
|
||||
FUN_14016db50(uVar4);
|
||||
piVar1 = (int *)(puVar3 + -4);
|
||||
*piVar1 = *piVar1 + -1;
|
||||
if (*piVar1 == 0) {
|
||||
FUN_14016d970(puVar3 + -8);
|
||||
}
|
||||
FUN_14016dbe0(uVar4);
|
||||
}
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue