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
27
decomp/DBCServer_Release_x64/full/functions/0x1400a80c0.c
Normal file
27
decomp/DBCServer_Release_x64/full/functions/0x1400a80c0.c
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400a80c0 FUN_1400a80c0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* WARNING: Removing unreachable block (ram,0x0001400a8114) */
|
||||
|
||||
undefined4 FUN_1400a80c0(undefined8 *param_1)
|
||||
|
||||
{
|
||||
IUnknown *This;
|
||||
ULONG UVar1;
|
||||
int iVar2;
|
||||
|
||||
This = *(IUnknown **)*param_1;
|
||||
if ((This != (IUnknown *)0x0) && (UVar1 = (*This->lpVtbl[0xb].AddRef)(This), (int)UVar1 < 0)) {
|
||||
_com_issue_errorex(UVar1,This,(_GUID *)&DAT_14029e018);
|
||||
}
|
||||
iVar2 = FUN_140001d50(*param_1,param_1 + 1);
|
||||
if (iVar2 == 0) {
|
||||
printf(". ");
|
||||
return 1;
|
||||
}
|
||||
FUN_1400a6d80(param_1[0x23],"Error_ADO DB Connect.Log",
|
||||
"DB Connect failed\n Connection String = %s",param_1 + 1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue