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
55
decomp/DBCServer_Release_x64/full/functions/0x14018b700.c
Normal file
55
decomp/DBCServer_Release_x64/full/functions/0x14018b700.c
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14018b700 FUN_14018b700
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* WARNING: Removing unreachable block (ram,0x00014018b7f6) */
|
||||
/* WARNING: Removing unreachable block (ram,0x00014018b804) */
|
||||
|
||||
void FUN_14018b700(ulonglong *param_1,ulonglong *param_2)
|
||||
|
||||
{
|
||||
longlong *plVar1;
|
||||
ulonglong uVar2;
|
||||
ulonglong uVar3;
|
||||
ulonglong uVar4;
|
||||
|
||||
uVar3 = *param_2;
|
||||
uVar4 = *param_1;
|
||||
if (uVar4 != uVar3) {
|
||||
uVar2 = uVar4;
|
||||
if (uVar3 < uVar4) {
|
||||
uVar2 = uVar3;
|
||||
uVar3 = uVar4;
|
||||
}
|
||||
if (uVar2 != 0) {
|
||||
FUN_14016db50(uVar2);
|
||||
}
|
||||
if (uVar3 != 0) {
|
||||
FUN_14016db50(uVar3);
|
||||
}
|
||||
if (*param_2 != 0) {
|
||||
plVar1 = (longlong *)(*param_2 + 0x40);
|
||||
*plVar1 = *plVar1 + 1;
|
||||
}
|
||||
uVar4 = 0;
|
||||
if (*param_1 != 0) {
|
||||
plVar1 = (longlong *)(*param_1 + 0x40);
|
||||
*plVar1 = *plVar1 + -1;
|
||||
if (*(longlong *)(*param_1 + 0x40) == 0) {
|
||||
uVar4 = *param_1;
|
||||
}
|
||||
}
|
||||
*param_1 = *param_2;
|
||||
if (uVar2 != 0) {
|
||||
FUN_14016dbe0(uVar2);
|
||||
}
|
||||
if (uVar3 != 0) {
|
||||
FUN_14016dbe0(uVar3);
|
||||
}
|
||||
if (uVar4 != 0) {
|
||||
FUN_140189d90(uVar4);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue