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
50
decomp/DBCServer_Release_x64/full/functions/0x14015af90.c
Normal file
50
decomp/DBCServer_Release_x64/full/functions/0x14015af90.c
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14015af90 FUN_14015af90
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_14015af90(longlong *param_1,int param_2,void *param_3,int param_4)
|
||||
|
||||
{
|
||||
void *pvVar1;
|
||||
|
||||
if (param_1 == (longlong *)0x0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14004dc60(0x80070057);
|
||||
}
|
||||
if (param_2 < 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14004dc60(0x80070057);
|
||||
}
|
||||
if (param_3 == (void *)0x0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14004dc60(0x80070057);
|
||||
}
|
||||
pvVar1 = (void *)*param_1;
|
||||
if (pvVar1 == param_3) {
|
||||
if (param_2 <= param_4) {
|
||||
*param_1 = (longlong)param_3;
|
||||
goto LAB_14015b021;
|
||||
}
|
||||
pvVar1 = calloc((longlong)param_2,2);
|
||||
}
|
||||
else {
|
||||
if (param_2 <= param_4) {
|
||||
free(pvVar1);
|
||||
*param_1 = (longlong)param_3;
|
||||
goto LAB_14015b021;
|
||||
}
|
||||
pvVar1 = _recalloc(pvVar1,(longlong)param_2,2);
|
||||
if (pvVar1 == (void *)0x0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14004dc60(0x8007000e);
|
||||
}
|
||||
}
|
||||
*param_1 = (longlong)pvVar1;
|
||||
LAB_14015b021:
|
||||
if (*param_1 == 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14004dc60(0x8007000e);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue