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
32
decomp/DBCServer_Release_x64/full/functions/0x1401ed6b0.c
Normal file
32
decomp/DBCServer_Release_x64/full/functions/0x1401ed6b0.c
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401ed6b0 FUN_1401ed6b0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 * FUN_1401ed6b0(longlong *param_1,longlong param_2,undefined8 param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
longlong *plVar1;
|
||||
undefined8 *puVar2;
|
||||
|
||||
plVar1 = (longlong *)*param_1;
|
||||
if (plVar1 == (longlong *)0x0) {
|
||||
puVar2 = (undefined8 *)FUN_14016d940(0x58);
|
||||
}
|
||||
else {
|
||||
puVar2 = (undefined8 *)
|
||||
(**(code **)(*plVar1 + 8))(plVar1,0x58,param_3,param_4,0xfffffffffffffffe);
|
||||
}
|
||||
if (puVar2 != (undefined8 *)0x0) {
|
||||
FUN_14016b470(puVar2 + 2,param_2);
|
||||
*(undefined4 *)(puVar2 + 7) = *(undefined4 *)(param_2 + 0x28);
|
||||
puVar2[8] = Proud::AddrPort::vftable;
|
||||
*(undefined4 *)(puVar2 + 9) = *(undefined4 *)(param_2 + 0x38);
|
||||
*(undefined2 *)((longlong)puVar2 + 0x4c) = *(undefined2 *)(param_2 + 0x3c);
|
||||
*(undefined1 *)(puVar2 + 10) = *(undefined1 *)(param_2 + 0x40);
|
||||
}
|
||||
puVar2[1] = param_3;
|
||||
*puVar2 = param_4;
|
||||
param_1[3] = param_1[3] + 1;
|
||||
return puVar2;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue