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
36
decomp/DBCServer_Release_x64/full/functions/0x1401c77a0.c
Normal file
36
decomp/DBCServer_Release_x64/full/functions/0x1401c77a0.c
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401c77a0 FUN_1401c77a0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 * FUN_1401c77a0(longlong param_1,undefined8 *param_2)
|
||||
|
||||
{
|
||||
longlong *plVar1;
|
||||
undefined8 uVar2;
|
||||
longlong lVar3;
|
||||
|
||||
uVar2 = (**(code **)(*(longlong *)(param_1 + -0x70) + 0x58))((longlong *)(param_1 + -0x70));
|
||||
FUN_14016db50(uVar2);
|
||||
plVar1 = *(longlong **)(param_1 + 0x1568);
|
||||
if ((((plVar1 == (longlong *)0x0) || (*plVar1 == 0)) || (plVar1 == (longlong *)0x0)) ||
|
||||
((*plVar1 == 0 || (*plVar1 == 0x40)))) {
|
||||
*param_2 = Proud::AddrPort::vftable;
|
||||
*(undefined4 *)(param_2 + 1) = DAT_140344450;
|
||||
*(undefined2 *)((longlong)param_2 + 0xc) = DAT_140344454;
|
||||
}
|
||||
else {
|
||||
if (((plVar1 == (longlong *)0x0) || (*plVar1 == 0)) ||
|
||||
((plVar1 == (longlong *)0x0 || (*plVar1 == 0)))) {
|
||||
lVar3 = 0;
|
||||
}
|
||||
else {
|
||||
lVar3 = *plVar1 + -0x40;
|
||||
}
|
||||
*param_2 = Proud::AddrPort::vftable;
|
||||
*(undefined4 *)(param_2 + 1) = *(undefined4 *)(lVar3 + 0x118);
|
||||
*(undefined2 *)((longlong)param_2 + 0xc) = *(undefined2 *)(lVar3 + 0x11c);
|
||||
}
|
||||
FUN_14016dbe0(uVar2);
|
||||
return param_2;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue