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
44
decomp/DBCServer_Release_x64/full/functions/0x140001410.c
Normal file
44
decomp/DBCServer_Release_x64/full/functions/0x140001410.c
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140001410 FUN_140001410
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_140001410(IUnknown *param_1,longlong *param_2,void **param_3)
|
||||
|
||||
{
|
||||
longlong *plVar1;
|
||||
longlong *plVar2;
|
||||
longlong lVar3;
|
||||
HRESULT HVar4;
|
||||
IID *riid;
|
||||
|
||||
if ((undefined8 *)*param_2 == (undefined8 *)0x0) {
|
||||
riid = (IID *)0x0;
|
||||
}
|
||||
else {
|
||||
riid = *(IID **)*param_2;
|
||||
}
|
||||
HVar4 = (*param_1->lpVtbl[4].QueryInterface)(param_1,riid,param_3);
|
||||
if (HVar4 < 0) {
|
||||
_com_issue_errorex(HVar4,param_1,(_GUID *)&DAT_14029dff0);
|
||||
}
|
||||
plVar2 = (longlong *)*param_2;
|
||||
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_2 = 0;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue