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
97
decomp/DBCServer_Release_x64/full/functions/0x1401a7880.c
Normal file
97
decomp/DBCServer_Release_x64/full/functions/0x1401a7880.c
Normal file
|
|
@ -0,0 +1,97 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401a7880 FUN_1401a7880
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
||||
|
||||
void FUN_1401a7880(undefined8 param_1,longlong param_2)
|
||||
|
||||
{
|
||||
undefined8 uVar1;
|
||||
longlong lVar2;
|
||||
undefined1 auStack_d68 [32];
|
||||
undefined8 local_d48;
|
||||
undefined1 uStack_d40;
|
||||
undefined3 uStack_d3f;
|
||||
undefined4 uStack_d3c;
|
||||
undefined1 local_d38 [8];
|
||||
longlong local_d30;
|
||||
longlong local_d28;
|
||||
undefined4 local_d20;
|
||||
int local_d1c;
|
||||
undefined8 local_d10;
|
||||
undefined1 local_d08;
|
||||
undefined8 local_d00;
|
||||
undefined1 local_cf8 [80];
|
||||
undefined4 local_ca8;
|
||||
undefined4 uStack_ca4;
|
||||
undefined4 uStack_ca0;
|
||||
undefined4 uStack_c9c;
|
||||
undefined4 *local_28;
|
||||
undefined4 local_20;
|
||||
int local_1c;
|
||||
ulonglong local_18;
|
||||
|
||||
local_d00 = 0xfffffffffffffffe;
|
||||
local_18 = DAT_1403463c0 ^ (ulonglong)auStack_d68;
|
||||
FUN_14016b440(local_d38);
|
||||
FUN_14016abe0(local_d38);
|
||||
FUN_14016b5a0(local_d38,0x800);
|
||||
FUN_14016b5a0(local_d38,0);
|
||||
FUN_14004eef0(local_d38,8);
|
||||
uVar1 = (**(code **)(*(longlong *)(param_2 + 0x108) + 0x10))();
|
||||
local_d10 = uVar1;
|
||||
FUN_14016db50(uVar1);
|
||||
local_d08 = 1;
|
||||
local_1c = 200;
|
||||
local_20 = 0;
|
||||
local_28 = &local_ca8;
|
||||
if (local_d30 == 0) {
|
||||
if (local_d28 == 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d1e0();
|
||||
}
|
||||
}
|
||||
else {
|
||||
local_d20 = *(undefined4 *)(local_d30 + 0x18);
|
||||
}
|
||||
lVar2 = local_d28;
|
||||
if (local_d28 == 0) {
|
||||
if (local_d30 == 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d1e0();
|
||||
}
|
||||
lVar2 = 0;
|
||||
if (*(int *)(local_d30 + 0x18) != 0) {
|
||||
lVar2 = *(longlong *)(local_d30 + 0x10);
|
||||
}
|
||||
}
|
||||
local_20 = 1;
|
||||
local_d48._0_4_ = (undefined4)lVar2;
|
||||
local_d48._4_4_ = (undefined4)((ulonglong)lVar2 >> 0x20);
|
||||
local_ca8 = (undefined4)local_d48;
|
||||
uStack_ca4 = local_d48._4_4_;
|
||||
uStack_c9c = uStack_d3c;
|
||||
local_d48 = (longlong *)0x0;
|
||||
_uStack_d40 = CONCAT31((int3)((uint)local_d20 >> 8),1);
|
||||
uStack_ca0 = local_d20;
|
||||
FUN_1401ba860(*(undefined8 *)(param_2 + 0x748),&local_ca8,&local_d48);
|
||||
if (local_28 == (undefined4 *)0x0) {
|
||||
FUN_14016d300(local_cf8,PTR_u_ArrayWithExternalBuffer_is_unini_1403440d0);
|
||||
/* WARNING: Subroutine does not return */
|
||||
_CxxThrowException(local_cf8,(ThrowInfo *)&DAT_1403417f8);
|
||||
}
|
||||
if (local_1c < 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
FUN_14016dbe0(uVar1);
|
||||
local_d48 = &local_d30;
|
||||
FUN_14016d0e0(&local_d30);
|
||||
if ((local_d28 != 0) && (local_d1c < 0)) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue