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
43
decomp/DBCServer_Release_x64/full/functions/0x140001530.c
Normal file
43
decomp/DBCServer_Release_x64/full/functions/0x140001530.c
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140001530 FUN_140001530
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 * FUN_140001530(IUnknown *param_1,undefined8 *param_2,longlong *param_3,uint param_4)
|
||||
|
||||
{
|
||||
longlong *plVar1;
|
||||
longlong *plVar2;
|
||||
longlong lVar3;
|
||||
HRESULT HVar4;
|
||||
IID *riid;
|
||||
|
||||
riid = (IID *)0x0;
|
||||
if ((undefined8 *)*param_3 != (undefined8 *)0x0) {
|
||||
riid = *(IID **)*param_3;
|
||||
}
|
||||
HVar4 = (*param_1->lpVtbl[6].QueryInterface)(param_1,riid,(void **)(ulonglong)param_4);
|
||||
if (HVar4 < 0) {
|
||||
_com_issue_errorex(HVar4,param_1,(_GUID *)&DAT_14029dff0);
|
||||
}
|
||||
*param_2 = 0;
|
||||
plVar2 = (longlong *)*param_3;
|
||||
if (plVar2 != (longlong *)0x0) {
|
||||
LOCK();
|
||||
plVar1 = plVar2 + 2;
|
||||
lVar3 = *plVar1;
|
||||
*(int *)plVar1 = (int)*plVar1 + -1;
|
||||
UNLOCK();
|
||||
if (((int)lVar3 == 1) && (plVar2 != (longlong *)0x0)) {
|
||||
if (*plVar2 != 0) {
|
||||
Ordinal_6();
|
||||
}
|
||||
if ((void *)plVar2[1] != (void *)0x0) {
|
||||
operator_delete__((void *)plVar2[1]);
|
||||
}
|
||||
operator_delete(plVar2);
|
||||
}
|
||||
*param_3 = 0;
|
||||
}
|
||||
return param_2;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue