67 lines
2 KiB
C
67 lines
2 KiB
C
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
|
* Ghidra 12.1.2 decompiler output for 0x1401f9bb0 FUN_1401f9bb0
|
|
* Pseudocode, not original source. */
|
|
|
|
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
|
|
|
void FUN_1401f9bb0(longlong param_1)
|
|
|
|
{
|
|
char cVar1;
|
|
int iVar2;
|
|
int iVar3;
|
|
undefined8 uVar4;
|
|
undefined8 uVar5;
|
|
undefined1 auStack_6a8 [32];
|
|
undefined8 local_688;
|
|
void *local_678;
|
|
undefined8 local_670;
|
|
ulonglong local_668;
|
|
undefined8 local_660;
|
|
ulonglong local_18;
|
|
|
|
local_688 = 0xfffffffffffffffe;
|
|
local_18 = DAT_1403463c0 ^ (ulonglong)auStack_6a8;
|
|
uVar4 = 0;
|
|
uVar5 = uVar4;
|
|
if (*(undefined8 **)(param_1 + 0x128) != (undefined8 *)0x0) {
|
|
uVar5 = **(undefined8 **)(param_1 + 0x128);
|
|
}
|
|
cVar1 = FUN_14019c8d0(uVar5);
|
|
if ((cVar1 == '\0') && (*(char *)(param_1 + 0x80) == '\0')) {
|
|
uVar5 = (**(code **)(**(longlong **)(param_1 + 0x120) + 0x30))();
|
|
iVar2 = FUN_1401f99a0(param_1,uVar5);
|
|
if (0 < iVar2) {
|
|
*(undefined1 *)(param_1 + 0x80) = 1;
|
|
local_678 = (void *)0x0;
|
|
local_660 = 0;
|
|
local_670 = 0;
|
|
local_668 = 100;
|
|
FUN_1401bf080(param_1 + 0x170,&local_678,iVar2);
|
|
uVar5 = uVar4;
|
|
if (*(undefined8 **)(param_1 + 0x128) != (undefined8 *)0x0) {
|
|
uVar5 = **(undefined8 **)(param_1 + 0x128);
|
|
}
|
|
iVar3 = FUN_14019d910(uVar5,&local_678);
|
|
FUN_1401e25f0(param_1 + 0x1b8,iVar2);
|
|
uVar5 = (**(code **)(**(longlong **)(param_1 + 0x120) + 0x30))();
|
|
*(double *)(param_1 + 0x1d8) = (double)iVar2 + *(double *)(param_1 + 0x1d8);
|
|
*(undefined8 *)(param_1 + 0x1e8) = uVar5;
|
|
if (iVar3 == 0) {
|
|
*(undefined8 *)(param_1 + 0x1f8) = 0;
|
|
}
|
|
else {
|
|
*(undefined1 *)(param_1 + 0x80) = 0;
|
|
if (*(undefined8 **)(param_1 + 0x128) != (undefined8 *)0x0) {
|
|
uVar4 = **(undefined8 **)(param_1 + 0x128);
|
|
}
|
|
FUN_14019c630(uVar4);
|
|
}
|
|
if (100 < local_668) {
|
|
operator_delete__(local_678);
|
|
}
|
|
}
|
|
}
|
|
return;
|
|
}
|
|
|