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
34
decomp/DBCServer_Release_x64/full/functions/0x14016b510.c
Normal file
34
decomp/DBCServer_Release_x64/full/functions/0x14016b510.c
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14016b510 FUN_14016b510
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_14016b510(undefined4 *param_1,longlong *param_2)
|
||||
|
||||
{
|
||||
longlong *plVar1;
|
||||
|
||||
if (*param_2 == *(longlong *)(param_1 + 2)) {
|
||||
param_1[7] = *(undefined4 *)((longlong)param_2 + 0x14);
|
||||
*(longlong *)(param_1 + 4) = param_2[1];
|
||||
param_1[6] = (int)param_2[2];
|
||||
}
|
||||
else {
|
||||
FUN_14016d0e0(param_1 + 2);
|
||||
if (*param_2 != 0) {
|
||||
plVar1 = (longlong *)(*param_2 + 0x28);
|
||||
*plVar1 = *plVar1 + 1;
|
||||
*(longlong *)(param_1 + 2) = *param_2;
|
||||
}
|
||||
}
|
||||
*param_1 = 0;
|
||||
FUN_14016d0e0(param_2);
|
||||
if (param_2[1] != 0) {
|
||||
if (*(int *)((longlong)param_2 + 0x14) < 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
*(undefined4 *)(param_2 + 2) = 0;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue