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
39
decomp/DBCServer_Release_x64/full/functions/0x14004e560.c
Normal file
39
decomp/DBCServer_Release_x64/full/functions/0x14004e560.c
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14004e560 FUN_14004e560
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_14004e560(longlong *param_1)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
int iVar2;
|
||||
undefined *puVar3;
|
||||
|
||||
puVar3 = (undefined *)*param_1;
|
||||
if ((undefined *)*param_1 == (undefined *)0x0) {
|
||||
puVar3 = PTR_DAT_1403440a0;
|
||||
}
|
||||
iVar1 = FUN_14016d740(puVar3);
|
||||
iVar2 = 0;
|
||||
if (0 < iVar1) {
|
||||
iVar2 = iVar1;
|
||||
}
|
||||
puVar3 = (undefined *)*param_1;
|
||||
iVar1 = 0;
|
||||
if ((puVar3 != (undefined *)0x0) && (iVar1 = 0, puVar3 != PTR_DAT_1403440a0)) {
|
||||
iVar1 = *(int *)(puVar3 + -8);
|
||||
}
|
||||
if ((iVar1 <= iVar2) && (iVar2 = 0, puVar3 != (undefined *)0x0)) {
|
||||
if (puVar3 == PTR_DAT_1403440a0) {
|
||||
return;
|
||||
}
|
||||
iVar2 = *(int *)(puVar3 + -8);
|
||||
}
|
||||
if (((puVar3 != PTR_DAT_1403440a0) && (puVar3 != (undefined *)0x0)) &&
|
||||
((int *)(puVar3 + -8) != (int *)0x0)) {
|
||||
*(int *)(puVar3 + -8) = iVar2;
|
||||
*(undefined2 *)(puVar3 + (longlong)iVar2 * 2) = 0;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue