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/0x1401bf350.c
Normal file
48
decomp/DBCServer_Release_x64/full/functions/0x1401bf350.c
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401bf350 FUN_1401bf350
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
||||
|
||||
void FUN_1401bf350(undefined8 param_1,longlong param_2,undefined8 param_3)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
undefined1 auStack_d28 [32];
|
||||
undefined8 local_d08;
|
||||
undefined1 local_d00 [72];
|
||||
undefined1 local_cb8 [3200];
|
||||
longlong local_38;
|
||||
int local_2c;
|
||||
ulonglong local_28;
|
||||
|
||||
local_d08 = 0xfffffffffffffffe;
|
||||
local_28 = DAT_1403463c0 ^ (ulonglong)auStack_d28;
|
||||
FUN_14004f3c0(param_3,0x5713);
|
||||
iVar1 = FUN_14019b440(param_1);
|
||||
FUN_14016cac0(param_3,(longlong)iVar1);
|
||||
if (*(longlong *)(param_2 + 0xc80) == 0) {
|
||||
FUN_14016d300(local_d00,PTR_u_ArrayWithExternalBuffer_is_unini_1403440d0);
|
||||
/* WARNING: Subroutine does not return */
|
||||
_CxxThrowException(local_d00,(ThrowInfo *)&DAT_1403417f8);
|
||||
}
|
||||
if (*(int *)(param_2 + 0xc8c) < 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
*(undefined4 *)(param_2 + 0xc88) = 0;
|
||||
FUN_14016e080(local_cb8,param_3);
|
||||
FUN_14016ded0(param_2,local_cb8);
|
||||
if (local_38 == 0) {
|
||||
FUN_14016d300(local_d00,PTR_u_ArrayWithExternalBuffer_is_unini_1403440d0);
|
||||
/* WARNING: Subroutine does not return */
|
||||
_CxxThrowException(local_d00,(ThrowInfo *)&DAT_1403417f8);
|
||||
}
|
||||
if (local_2c < 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_14016d6b0();
|
||||
}
|
||||
FUN_14016ded0(param_2,param_1);
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue