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
82
decomp/DBCServer_Release_x64/full/functions/0x1401eb980.c
Normal file
82
decomp/DBCServer_Release_x64/full/functions/0x1401eb980.c
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401eb980 FUN_1401eb980
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
||||
|
||||
void FUN_1401eb980(longlong param_1)
|
||||
|
||||
{
|
||||
char cVar1;
|
||||
longlong lVar2;
|
||||
undefined8 uVar3;
|
||||
double dVar4;
|
||||
undefined1 auStack_668 [32];
|
||||
int local_648 [4];
|
||||
undefined1 local_638 [1568];
|
||||
ulonglong local_18;
|
||||
|
||||
local_18 = DAT_1403463c0 ^ (ulonglong)auStack_668;
|
||||
dVar4 = (double)(**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x70) + 0x1c0))
|
||||
(*(longlong *)(param_1 + 0x108) + 0x70);
|
||||
if (dVar4 - *(double *)(param_1 + 200) <= DAT_140344c90) {
|
||||
FUN_14019be90(local_638);
|
||||
lVar2 = FUN_1401c71f0(*(undefined8 *)(param_1 + 0x108));
|
||||
uVar3 = 0;
|
||||
if (*(undefined8 **)(lVar2 + 0x128) != (undefined8 *)0x0) {
|
||||
uVar3 = **(undefined8 **)(lVar2 + 0x128);
|
||||
}
|
||||
FUN_14019beb0(local_638,uVar3);
|
||||
lVar2 = FUN_1401c71f0(*(undefined8 *)(param_1 + 0x108));
|
||||
uVar3 = 0;
|
||||
if (*(undefined8 **)(lVar2 + 0x128) != (undefined8 *)0x0) {
|
||||
uVar3 = **(undefined8 **)(lVar2 + 0x128);
|
||||
}
|
||||
FUN_14019bf10(local_638,uVar3);
|
||||
FUN_14019bf70(local_638,0);
|
||||
lVar2 = FUN_1401c71f0(*(undefined8 *)(param_1 + 0x108));
|
||||
uVar3 = 0;
|
||||
if (*(undefined8 **)(lVar2 + 0x128) != (undefined8 *)0x0) {
|
||||
uVar3 = **(undefined8 **)(lVar2 + 0x128);
|
||||
}
|
||||
cVar1 = FUN_14019bfd0(local_638,uVar3,local_648);
|
||||
if (cVar1 == '\0') {
|
||||
return;
|
||||
}
|
||||
if (local_648[0] == 0) {
|
||||
lVar2 = FUN_1401c71f0(*(undefined8 *)(param_1 + 0x108));
|
||||
uVar3 = 0;
|
||||
if (*(undefined8 **)(lVar2 + 0x128) != (undefined8 *)0x0) {
|
||||
uVar3 = **(undefined8 **)(lVar2 + 0x128);
|
||||
}
|
||||
FUN_14019be10(uVar3,1);
|
||||
uVar3 = FUN_1401c71f0(*(undefined8 *)(param_1 + 0x108));
|
||||
FUN_1401f9b20(uVar3);
|
||||
lVar2 = FUN_1401c71f0(*(undefined8 *)(param_1 + 0x108));
|
||||
cVar1 = FUN_14016f870(lVar2 + 0x110);
|
||||
if (cVar1 == '\0') {
|
||||
FUN_14016f090(&DAT_140293100);
|
||||
}
|
||||
if (1 < *(int *)(param_1 + 0x100)) {
|
||||
return;
|
||||
}
|
||||
*(undefined4 *)(param_1 + 0x40) = 0;
|
||||
*(undefined4 *)(param_1 + 0x100) = 2;
|
||||
uVar3 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x108) + 0x70) + 0x1c0))
|
||||
(*(longlong *)(param_1 + 0x108) + 0x70);
|
||||
*(undefined8 *)(param_1 + 0x80) = uVar3;
|
||||
*(undefined1 *)(param_1 + 0xc0) = 0;
|
||||
return;
|
||||
}
|
||||
cVar1 = FUN_1401eb8d0(param_1,local_648);
|
||||
if (cVar1 != '\0') {
|
||||
return;
|
||||
}
|
||||
}
|
||||
else {
|
||||
local_648[0] = 0x274c;
|
||||
}
|
||||
FUN_1401eaa60(param_1,local_648[0]);
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue