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
71
decomp/DBCServer_Release_x64/full/functions/0x1401ebcc0.c
Normal file
71
decomp/DBCServer_Release_x64/full/functions/0x1401ebcc0.c
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401ebcc0 FUN_1401ebcc0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_1401ebcc0(longlong param_1,longlong param_2)
|
||||
|
||||
{
|
||||
longlong *plVar1;
|
||||
undefined8 *puVar2;
|
||||
char cVar3;
|
||||
longlong lVar4;
|
||||
longlong lVar5;
|
||||
longlong *plVar6;
|
||||
undefined2 uVar7;
|
||||
undefined4 uVar8;
|
||||
longlong *local_res8;
|
||||
undefined8 local_res10;
|
||||
undefined **local_28;
|
||||
undefined4 local_20;
|
||||
undefined2 local_1c;
|
||||
|
||||
(**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x78) + 0x10))
|
||||
(*(longlong *)(param_1 + 0x108) + 0x78);
|
||||
cVar3 = FUN_14016b370(param_2,&local_res10,8);
|
||||
if (cVar3 != '\0') {
|
||||
lVar5 = 0;
|
||||
uVar8 = 0;
|
||||
uVar7 = 0;
|
||||
if ((*(int *)(param_2 + 0x28) == 1) &&
|
||||
(lVar4 = FUN_1401c71d0(*(undefined8 *)(param_1 + 0x108)), lVar4 != 0)) {
|
||||
lVar5 = FUN_1401c71d0(*(undefined8 *)(param_1 + 0x108));
|
||||
plVar1 = *(longlong **)(lVar5 + 0x108);
|
||||
lVar5 = FUN_1401c71d0(*(undefined8 *)(param_1 + 0x108));
|
||||
uVar8 = *(undefined4 *)(lVar5 + 0x140);
|
||||
uVar7 = *(undefined2 *)(lVar5 + 0x144);
|
||||
local_res8 = plVar1;
|
||||
}
|
||||
else {
|
||||
plVar6 = (longlong *)
|
||||
FUN_1401d2620(*(undefined8 *)(param_1 + 0x108),&local_res8,
|
||||
*(undefined4 *)(param_2 + 0x28));
|
||||
plVar1 = local_res8;
|
||||
if ((longlong *)*plVar6 != (longlong *)0x0) {
|
||||
lVar5 = *(longlong *)*plVar6;
|
||||
}
|
||||
if ((local_res8 != (longlong *)0x0) &&
|
||||
(local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) {
|
||||
puVar2 = (undefined8 *)*local_res8;
|
||||
if (puVar2 != (undefined8 *)0x0) {
|
||||
(**(code **)*puVar2)(puVar2,1);
|
||||
}
|
||||
FUN_14016d970(plVar1);
|
||||
}
|
||||
if (((lVar5 != 0) && (*(longlong **)(lVar5 + 0x18) != (longlong *)0x0)) &&
|
||||
(**(longlong **)(lVar5 + 0x18) != 0)) {
|
||||
lVar4 = FUN_1401fa4b0(lVar5);
|
||||
uVar8 = *(undefined4 *)(lVar5 + 0x598);
|
||||
uVar7 = *(undefined2 *)(lVar5 + 0x59c);
|
||||
local_res8 = *(longlong **)(lVar4 + 0x108);
|
||||
}
|
||||
}
|
||||
if (local_res8 != (longlong *)0x0) {
|
||||
local_28 = Proud::AddrPort::vftable;
|
||||
local_20 = uVar8;
|
||||
local_1c = uVar7;
|
||||
FUN_1401b61e0(local_res8,&local_28,local_res10);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue