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
42
decomp/DBCServer_Release_x64/full/functions/0x14020aec0.c
Normal file
42
decomp/DBCServer_Release_x64/full/functions/0x14020aec0.c
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14020aec0 FUN_14020aec0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_14020aec0(int *param_1,int param_2)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
undefined4 *puVar2;
|
||||
undefined4 *puVar3;
|
||||
undefined4 *puVar4;
|
||||
|
||||
if (0 < param_2) {
|
||||
if (*param_1 <= param_2) {
|
||||
FUN_140208f90();
|
||||
return;
|
||||
}
|
||||
puVar3 = *(undefined4 **)(param_1 + 4);
|
||||
iVar1 = 0;
|
||||
puVar4 = puVar3 + param_2;
|
||||
puVar2 = puVar3;
|
||||
if (0 < *param_1 - param_2) {
|
||||
do {
|
||||
iVar1 = iVar1 + 1;
|
||||
puVar3 = puVar2 + 1;
|
||||
*puVar2 = *puVar4;
|
||||
puVar4 = puVar4 + 1;
|
||||
puVar2 = puVar3;
|
||||
} while (iVar1 < *param_1 - param_2);
|
||||
}
|
||||
if (iVar1 < *param_1) {
|
||||
do {
|
||||
*puVar3 = 0;
|
||||
iVar1 = iVar1 + 1;
|
||||
puVar3 = puVar3 + 1;
|
||||
} while (iVar1 < *param_1);
|
||||
}
|
||||
*param_1 = *param_1 - param_2;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue