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
35
decomp/DBCServer_Release_x64/full/functions/0x1401d89c0.c
Normal file
35
decomp/DBCServer_Release_x64/full/functions/0x1401d89c0.c
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401d89c0 FUN_1401d89c0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_1401d89c0(longlong *param_1,longlong *param_2)
|
||||
|
||||
{
|
||||
longlong lVar1;
|
||||
void *pvVar2;
|
||||
undefined8 *puVar3;
|
||||
|
||||
lVar1 = *param_2;
|
||||
if (lVar1 != *param_1) {
|
||||
if (lVar1 != 0) {
|
||||
*(longlong *)(*param_2 + 8) = *(longlong *)(lVar1 + 8) + 1;
|
||||
}
|
||||
puVar3 = (undefined8 *)0x0;
|
||||
if ((*param_1 != 0) &&
|
||||
(*(longlong *)(*param_1 + 8) = *(longlong *)(*param_1 + 8) + -1,
|
||||
*(longlong *)(*param_1 + 8) == 0)) {
|
||||
puVar3 = (undefined8 *)*param_1;
|
||||
}
|
||||
*param_1 = *param_2;
|
||||
if (puVar3 != (undefined8 *)0x0) {
|
||||
pvVar2 = (void *)*puVar3;
|
||||
if (pvVar2 != (void *)0x0) {
|
||||
FUN_1401c9600((longlong)pvVar2 + 8);
|
||||
operator_delete(pvVar2);
|
||||
}
|
||||
FUN_14016d970(puVar3);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue