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
47
decomp/DBCServer_Release_x64/full/functions/0x1401d4780.c
Normal file
47
decomp/DBCServer_Release_x64/full/functions/0x1401d4780.c
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401d4780 FUN_1401d4780
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_1401d4780(longlong param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4)
|
||||
|
||||
{
|
||||
undefined8 *puVar1;
|
||||
undefined8 uVar2;
|
||||
longlong *plVar3;
|
||||
longlong lVar4;
|
||||
longlong *local_res8;
|
||||
undefined8 uVar5;
|
||||
undefined8 uVar6;
|
||||
undefined1 uVar7;
|
||||
|
||||
uVar5 = 0xfffffffffffffffe;
|
||||
uVar2 = (**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))();
|
||||
uVar6 = uVar2;
|
||||
FUN_14016db50(uVar2);
|
||||
uVar7 = 1;
|
||||
plVar3 = (longlong *)FUN_1401d2620(*(undefined8 *)(param_1 + 0x20),&local_res8,param_2);
|
||||
lVar4 = 0;
|
||||
if ((longlong *)*plVar3 != (longlong *)0x0) {
|
||||
lVar4 = *(longlong *)*plVar3;
|
||||
}
|
||||
if ((local_res8 != (longlong *)0x0) &&
|
||||
(local_res8[1] = local_res8[1] + -1, uVar2 = uVar6, local_res8[1] == 0)) {
|
||||
puVar1 = (undefined8 *)*local_res8;
|
||||
if (puVar1 != (undefined8 *)0x0) {
|
||||
(**(code **)*puVar1)(puVar1,1);
|
||||
uVar2 = uVar6;
|
||||
}
|
||||
FUN_14016d970(local_res8);
|
||||
uVar6 = uVar2;
|
||||
}
|
||||
if ((lVar4 != 0) && (*(char *)(lVar4 + 0x684) == '\0')) {
|
||||
*(undefined4 *)(lVar4 + 0x44) = *param_4;
|
||||
plVar3 = (longlong *)(*(longlong *)(param_1 + 0x20) + 0x1818);
|
||||
(**(code **)(*plVar3 + 0x140))
|
||||
(plVar3,1,&DAT_14034c4b0,lVar4 + 0x56c,lVar4 + 0x40,(undefined4 *)(lVar4 + 0x44),uVar5
|
||||
,uVar6,uVar7);
|
||||
}
|
||||
FUN_14016dbe0(uVar2);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue