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
38
decomp/DBCServer_Release_x64/full/functions/0x14019c560.c
Normal file
38
decomp/DBCServer_Release_x64/full/functions/0x14019c560.c
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14019c560 FUN_14019c560
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_14019c560(longlong param_1,undefined1 param_2,uint *param_3)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
int iVar2;
|
||||
uint uVar3;
|
||||
uint local_res8 [2];
|
||||
uint local_res20 [2];
|
||||
|
||||
if ((*(int *)(param_1 + 0x240) == 0x103) || (*(char *)(param_1 + 0x280) == '\0')) {
|
||||
return 0;
|
||||
}
|
||||
iVar1 = WSAGetOverlappedResult
|
||||
(*(undefined8 *)(param_1 + 0x3d0),(int *)(param_1 + 0x240),local_res8,param_2,
|
||||
local_res20);
|
||||
if (iVar1 == 0) {
|
||||
iVar2 = Ordinal_111();
|
||||
if (iVar2 == 0x3e4) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
else if ((local_res8[0] == 0) && (local_res20[0] == 0)) {
|
||||
return 0;
|
||||
}
|
||||
param_3[6] = local_res8[0];
|
||||
*param_3 = local_res20[0];
|
||||
if (iVar1 == 0) {
|
||||
uVar3 = Ordinal_111();
|
||||
param_3[1] = uVar3;
|
||||
}
|
||||
*(undefined1 *)(param_1 + 0x280) = 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue