server-re/decomp/DBCServer_Release_x64/full/functions/0x14019bbd0.c

35 lines
1.1 KiB
C

/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x14019bbd0 FUN_14019bbd0
* Pseudocode, not original source. */
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
undefined8 * FUN_14019bbd0(longlong param_1,undefined8 *param_2)
{
undefined2 uVar1;
int iVar2;
undefined1 auStack_48 [32];
undefined4 local_28 [2];
undefined1 local_20 [2];
undefined2 local_1e;
undefined4 local_1c;
ulonglong local_10;
local_10 = DAT_1403463c0 ^ (ulonglong)auStack_48;
local_28[0] = 0x10;
iVar2 = Ordinal_6(*(undefined8 *)(param_1 + 0x3d0),local_20,local_28);
if (iVar2 == 0) {
uVar1 = Ordinal_15(local_1e);
*(undefined4 *)(param_2 + 1) = local_1c;
*param_2 = Proud::AddrPort::vftable;
*(undefined2 *)((longlong)param_2 + 0xc) = uVar1;
}
else {
*param_2 = Proud::AddrPort::vftable;
*(undefined4 *)(param_2 + 1) = DAT_140344450;
*(undefined2 *)((longlong)param_2 + 0xc) = DAT_140344454;
}
return param_2;
}