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
31
decomp/DBCServer_Release_x64/full/functions/0x14005a4a0.c
Normal file
31
decomp/DBCServer_Release_x64/full/functions/0x14005a4a0.c
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14005a4a0 FUN_14005a4a0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
int FUN_14005a4a0(longlong param_1)
|
||||
|
||||
{
|
||||
longlong lVar1;
|
||||
int iVar2;
|
||||
undefined2 local_18;
|
||||
undefined2 local_16;
|
||||
undefined8 local_14;
|
||||
undefined2 local_c;
|
||||
|
||||
local_16 = 0x4fa;
|
||||
local_c = 0;
|
||||
local_18 = 0xe;
|
||||
local_14 = 0;
|
||||
lVar1 = **(longlong **)(param_1 + 200);
|
||||
if (lVar1 != 0) {
|
||||
EnterCriticalSection((LPCRITICAL_SECTION)(lVar1 + 0x38));
|
||||
iVar2 = FUN_1400a7630(*(undefined8 *)(lVar1 + 0x18),&local_18);
|
||||
if (iVar2 != 0) {
|
||||
ReleaseSemaphore(*(HANDLE *)(lVar1 + 0x10),1,(LPLONG)0x0);
|
||||
}
|
||||
LeaveCriticalSection((LPCRITICAL_SECTION)(lVar1 + 0x38));
|
||||
return iVar2;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue