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
26
decomp/DBCServer_Release_x64/full/functions/0x14016dc00.c
Normal file
26
decomp/DBCServer_Release_x64/full/functions/0x14016dc00.c
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14016dc00 FUN_14016dc00
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_14016dc00(undefined4 *param_1)
|
||||
|
||||
{
|
||||
undefined1 local_58 [80];
|
||||
|
||||
if (*(char *)(param_1 + 0xc) == '\0') {
|
||||
if ((*(longlong *)(param_1 + 6) != 0) && (*(longlong *)(param_1 + 6) != -1)) {
|
||||
FUN_14016d300(local_58,L"Critical section is still in use! Destruction may cause problems!");
|
||||
/* WARNING: Subroutine does not return */
|
||||
_CxxThrowException(local_58,(ThrowInfo *)&DAT_1403417f8);
|
||||
}
|
||||
DeleteCriticalSection((LPCRITICAL_SECTION)(param_1 + 2));
|
||||
*param_1 = 0;
|
||||
*(undefined8 *)(param_1 + 2) = 0;
|
||||
*(undefined8 *)(param_1 + 4) = 0;
|
||||
*(undefined8 *)(param_1 + 6) = 0;
|
||||
*(undefined8 *)(param_1 + 8) = 0;
|
||||
*(undefined8 *)(param_1 + 10) = 0;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue