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
48
decomp/DBCServer_Release_x64/full/functions/0x14018d500.c
Normal file
48
decomp/DBCServer_Release_x64/full/functions/0x14018d500.c
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14018d500 FUN_14018d500
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined4 *
|
||||
FUN_14018d500(undefined4 *param_1,undefined4 *param_2,undefined8 param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
longlong *plVar1;
|
||||
|
||||
*param_1 = *param_2;
|
||||
*(undefined8 *)(param_1 + 2) = 0;
|
||||
FUN_140184b90(param_1 + 2,param_2 + 2,param_3,param_4,0xfffffffffffffffe);
|
||||
param_1[4] = param_2[4];
|
||||
*(undefined8 *)(param_1 + 6) = 0;
|
||||
FUN_14018b700(param_1 + 6,param_2 + 6);
|
||||
*(undefined8 *)(param_1 + 8) = 0;
|
||||
FUN_14018b830(param_1 + 8,param_2 + 8);
|
||||
FUN_140175600(param_1 + 10,param_2 + 10);
|
||||
*(undefined ***)(param_1 + 10) = Proud::ByteArray::vftable;
|
||||
*(undefined8 *)(param_1 + 0x18) = 0;
|
||||
*(undefined8 *)(param_1 + 0x16) = 0;
|
||||
if (*(longlong *)(param_2 + 0x14) == 0) {
|
||||
*(undefined8 *)(param_1 + 0x14) = 0;
|
||||
param_1[0x19] = param_2[0x19];
|
||||
*(undefined8 *)(param_1 + 0x16) = *(undefined8 *)(param_2 + 0x16);
|
||||
param_1[0x18] = param_2[0x18];
|
||||
}
|
||||
else {
|
||||
plVar1 = (longlong *)(*(longlong *)(param_2 + 0x14) + 0x28);
|
||||
*plVar1 = *plVar1 + 1;
|
||||
*(undefined8 *)(param_1 + 0x14) = *(undefined8 *)(param_2 + 0x14);
|
||||
}
|
||||
param_1[0x1a] = param_2[0x1a];
|
||||
param_1[0x1b] = param_2[0x1b];
|
||||
param_1[0x1c] = param_2[0x1c];
|
||||
FUN_140175600(param_1 + 0x1e,param_2 + 0x1e);
|
||||
*(undefined ***)(param_1 + 0x1e) = Proud::ByteArray::vftable;
|
||||
param_1[0x28] = param_2[0x28];
|
||||
*(undefined ***)(param_1 + 0x2a) = Proud::AddrPort::vftable;
|
||||
param_1[0x2c] = param_2[0x2c];
|
||||
*(undefined2 *)(param_1 + 0x2d) = *(undefined2 *)(param_2 + 0x2d);
|
||||
param_1[0x2e] = param_2[0x2e];
|
||||
FUN_140175600(param_1 + 0x30,param_2 + 0x30);
|
||||
*(undefined ***)(param_1 + 0x30) = Proud::ByteArray::vftable;
|
||||
return param_1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue