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
48
decomp/DBCServer_Release_x64/full/functions/0x14016e080.c
Normal file
48
decomp/DBCServer_Release_x64/full/functions/0x14016e080.c
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14016e080 FUN_14016e080
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
longlong FUN_14016e080(longlong param_1,longlong param_2)
|
||||
|
||||
{
|
||||
undefined4 uVar1;
|
||||
longlong lVar2;
|
||||
longlong lVar3;
|
||||
undefined1 local_58 [80];
|
||||
|
||||
*(undefined4 *)(param_1 + 0xc8c) = 200;
|
||||
lVar3 = 0;
|
||||
*(undefined4 *)(param_1 + 0xc88) = 0;
|
||||
*(longlong *)(param_1 + 0xc80) = param_1;
|
||||
lVar2 = *(longlong *)(param_2 + 8);
|
||||
if (lVar2 == 0) {
|
||||
if (*(longlong *)(param_2 + 0x10) == 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d1e0();
|
||||
}
|
||||
uVar1 = *(undefined4 *)(param_2 + 0x18);
|
||||
}
|
||||
else {
|
||||
uVar1 = *(undefined4 *)(lVar2 + 0x18);
|
||||
}
|
||||
if (*(longlong *)(param_2 + 0x10) == 0) {
|
||||
if (lVar2 == 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d1e0(param_1,param_2,uVar1,0,0xfffffffffffffffe);
|
||||
}
|
||||
if (*(int *)(lVar2 + 0x18) != 0) {
|
||||
lVar3 = *(longlong *)(lVar2 + 0x10);
|
||||
}
|
||||
}
|
||||
else {
|
||||
lVar3 = *(longlong *)(param_2 + 0x10);
|
||||
if (lVar3 == 0) {
|
||||
FUN_14016d300(local_58,PTR_u_ArrayWithExternalBuffer_is_unini_1403440d0);
|
||||
/* WARNING: Subroutine does not return */
|
||||
_CxxThrowException(local_58,(ThrowInfo *)&DAT_1403417f8);
|
||||
}
|
||||
}
|
||||
FUN_14016de40(param_1,lVar3);
|
||||
return param_1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue