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
33
decomp/DBCServer_Release_x64/full/functions/0x14004efd0.c
Normal file
33
decomp/DBCServer_Release_x64/full/functions/0x14004efd0.c
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14004efd0 FUN_14004efd0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_14004efd0(longlong *param_1,undefined8 param_2,int param_3)
|
||||
|
||||
{
|
||||
longlong lVar1;
|
||||
int iVar2;
|
||||
undefined1 local_58 [88];
|
||||
|
||||
if (param_3 < 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
if (param_3 != 0) {
|
||||
if (*param_1 == 0) {
|
||||
FUN_14016d300(local_58,PTR_u_ArrayWithExternalBuffer_is_unini_1403440d0);
|
||||
/* WARNING: Subroutine does not return */
|
||||
_CxxThrowException(local_58,(ThrowInfo *)&DAT_1403417f8);
|
||||
}
|
||||
lVar1 = param_1[1];
|
||||
iVar2 = (int)lVar1 + param_3;
|
||||
if ((iVar2 < 0) || (*(int *)((longlong)param_1 + 0xc) < iVar2)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
*(int *)(param_1 + 1) = iVar2;
|
||||
FUN_14004f1a0(*param_1 + (longlong)(int)lVar1,param_2,(longlong)param_3);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue