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
35
decomp/DBCServer_Release_x64/full/functions/0x14016de40.c
Normal file
35
decomp/DBCServer_Release_x64/full/functions/0x14016de40.c
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14016de40 FUN_14016de40
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_14016de40(longlong param_1,undefined8 param_2,undefined4 param_3)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
longlong lVar2;
|
||||
int iVar3;
|
||||
undefined4 uStack_5c;
|
||||
undefined1 local_58 [88];
|
||||
|
||||
lVar2 = *(longlong *)(param_1 + 0xc80);
|
||||
if (lVar2 == 0) {
|
||||
FUN_14016d300(local_58,PTR_u_ArrayWithExternalBuffer_is_unini_1403440d0);
|
||||
/* WARNING: Subroutine does not return */
|
||||
_CxxThrowException(local_58,(ThrowInfo *)&DAT_1403417f8);
|
||||
}
|
||||
iVar1 = *(int *)(param_1 + 0xc88);
|
||||
if (iVar1 < 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
iVar3 = iVar1 + 1;
|
||||
if ((-1 < iVar3) && (iVar3 <= *(int *)(param_1 + 0xc8c))) {
|
||||
*(int *)(param_1 + 0xc88) = iVar3;
|
||||
*(undefined8 *)(lVar2 + (longlong)iVar1 * 0x10) = param_2;
|
||||
*(ulonglong *)(lVar2 + 8 + (longlong)iVar1 * 0x10) = CONCAT44(uStack_5c,param_3);
|
||||
return;
|
||||
}
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue