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
45
decomp/DBCServer_Release_x64/full/functions/0x1401d5710.c
Normal file
45
decomp/DBCServer_Release_x64/full/functions/0x1401d5710.c
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401d5710 FUN_1401d5710
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_1401d5710(longlong param_1,undefined8 param_2,undefined8 param_3,undefined4 *param_4)
|
||||
|
||||
{
|
||||
undefined8 *puVar1;
|
||||
longlong lVar2;
|
||||
undefined8 uVar3;
|
||||
longlong *plVar4;
|
||||
longlong lVar5;
|
||||
undefined8 uVar6;
|
||||
longlong *local_res8;
|
||||
|
||||
uVar3 = (**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))();
|
||||
FUN_14016db50(uVar3);
|
||||
plVar4 = (longlong *)FUN_1401d2620(*(undefined8 *)(param_1 + 0x20),&local_res8,*param_4);
|
||||
lVar5 = 0;
|
||||
if ((longlong *)*plVar4 != (longlong *)0x0) {
|
||||
lVar5 = *(longlong *)*plVar4;
|
||||
}
|
||||
if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) {
|
||||
puVar1 = (undefined8 *)*local_res8;
|
||||
if (puVar1 != (undefined8 *)0x0) {
|
||||
(**(code **)*puVar1)(puVar1,1);
|
||||
}
|
||||
FUN_14016d970(local_res8);
|
||||
}
|
||||
if (lVar5 != 0) {
|
||||
FUN_1401fa330(lVar5,1);
|
||||
*(undefined4 *)(lVar5 + 0x61c) = 0;
|
||||
uVar6 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x20) + 0x70) + 0x1c0))();
|
||||
*(undefined8 *)(lVar5 + 0x620) = uVar6;
|
||||
*(undefined1 *)(lVar5 + 0x20) = 0;
|
||||
FUN_1401fc5a0(lVar5);
|
||||
lVar2 = *(longlong *)(param_1 + 0x20);
|
||||
if ((*(char *)(lVar2 + 0x1790) != '\0') || (*(int *)(lVar2 + 0x6c8) != 0)) {
|
||||
FUN_1401d4c70(lVar2,1,&DAT_14028fb00,*(undefined4 *)(lVar5 + 0x56c));
|
||||
}
|
||||
}
|
||||
FUN_14016dbe0(uVar3);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue