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
46
decomp/DBCServer_Release_x64/full/functions/0x14013c7e0.c
Normal file
46
decomp/DBCServer_Release_x64/full/functions/0x14013c7e0.c
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14013c7e0 FUN_14013c7e0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_14013c7e0(longlong *param_1)
|
||||
|
||||
{
|
||||
int *piVar1;
|
||||
undefined *puVar2;
|
||||
int iVar3;
|
||||
int iVar4;
|
||||
|
||||
iVar3 = FUN_14016d7e0();
|
||||
iVar4 = 0;
|
||||
if (0 < iVar3) {
|
||||
iVar4 = iVar3;
|
||||
}
|
||||
puVar2 = (undefined *)*param_1;
|
||||
if (puVar2 == (undefined *)0x0) {
|
||||
iVar3 = 0;
|
||||
}
|
||||
else if (puVar2 == PTR_DAT_140344098) {
|
||||
iVar3 = 0;
|
||||
}
|
||||
else {
|
||||
iVar3 = *(int *)(puVar2 + -8);
|
||||
}
|
||||
if (iVar3 <= iVar4) {
|
||||
if (puVar2 == (undefined *)0x0) {
|
||||
iVar4 = 0;
|
||||
}
|
||||
else if (puVar2 == PTR_DAT_140344098) {
|
||||
iVar4 = 0;
|
||||
}
|
||||
else {
|
||||
iVar4 = *(int *)(puVar2 + -8);
|
||||
}
|
||||
}
|
||||
if (((puVar2 != PTR_DAT_140344098) && (puVar2 != (undefined *)0x0)) &&
|
||||
(piVar1 = (int *)(puVar2 + -8), piVar1 != (int *)0x0)) {
|
||||
*piVar1 = iVar4;
|
||||
*(undefined1 *)((longlong)iVar4 + 8 + (longlong)piVar1) = 0;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue