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
66
decomp/DBCServer_Release_x64/full/functions/0x14019c720.c
Normal file
66
decomp/DBCServer_Release_x64/full/functions/0x14019c720.c
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14019c720 FUN_14019c720
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
||||
|
||||
void FUN_14019c720(longlong param_1,longlong param_2,longlong param_3,longlong param_4)
|
||||
|
||||
{
|
||||
undefined4 uVar1;
|
||||
undefined2 uVar2;
|
||||
int iVar3;
|
||||
PVOID lpOutputBuffer;
|
||||
undefined4 uVar4;
|
||||
undefined1 auStackY_b8 [32];
|
||||
undefined4 local_78;
|
||||
int local_74 [3];
|
||||
undefined1 local_68 [2];
|
||||
undefined2 local_66;
|
||||
undefined4 local_64;
|
||||
sockaddr *local_58 [2];
|
||||
sockaddr *local_48 [2];
|
||||
ulonglong local_38;
|
||||
|
||||
local_38 = DAT_1403463c0 ^ (ulonglong)auStackY_b8;
|
||||
local_74[0] = 0x10;
|
||||
local_74[1] = 0x10;
|
||||
if (*(int *)(param_2 + 0x158) == 0) {
|
||||
lpOutputBuffer = (PVOID)0x0;
|
||||
}
|
||||
else {
|
||||
lpOutputBuffer = *(PVOID *)(param_2 + 0x150);
|
||||
}
|
||||
GetAcceptExSockaddrs(lpOutputBuffer,0,0x20,0x20,local_58,local_74,local_48,local_74 + 1);
|
||||
FUN_14016f840(param_3,local_58);
|
||||
FUN_14016f840(param_4,local_48);
|
||||
iVar3 = Ordinal_21(*(undefined8 *)(param_1 + 0x3d0),0xffff,0x700b,param_2 + 0x3d0);
|
||||
if (iVar3 == -1) {
|
||||
Ordinal_111();
|
||||
}
|
||||
local_78 = 0x10;
|
||||
iVar3 = Ordinal_5(*(undefined8 *)(param_1 + 0x3d0),local_68,&local_78);
|
||||
uVar1 = local_64;
|
||||
uVar4 = DAT_140344450;
|
||||
uVar2 = DAT_140344454;
|
||||
if (iVar3 == 0) {
|
||||
uVar2 = Ordinal_15(local_66);
|
||||
uVar4 = uVar1;
|
||||
}
|
||||
*(undefined4 *)(param_4 + 8) = uVar4;
|
||||
*(undefined2 *)(param_4 + 0xc) = uVar2;
|
||||
local_78 = 0x10;
|
||||
iVar3 = Ordinal_6(*(undefined8 *)(param_1 + 0x3d0),local_68,&local_78);
|
||||
uVar2 = DAT_140344454;
|
||||
if (iVar3 == 0) {
|
||||
uVar2 = Ordinal_15(local_66);
|
||||
*(undefined4 *)(param_3 + 8) = local_64;
|
||||
*(undefined2 *)(param_3 + 0xc) = uVar2;
|
||||
}
|
||||
else {
|
||||
*(undefined4 *)(param_3 + 8) = DAT_140344450;
|
||||
*(undefined2 *)(param_3 + 0xc) = uVar2;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue