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
25
decomp/DBCServer_Release_x64/full/functions/0x140002780.c
Normal file
25
decomp/DBCServer_Release_x64/full/functions/0x140002780.c
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x140002780 FUN_140002780
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_140002780(longlong *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
undefined8 uVar2;
|
||||
|
||||
uVar2 = 0xfffffffffffffffe;
|
||||
while( true ) {
|
||||
if ((int)param_1[6] != 1) {
|
||||
return 0;
|
||||
}
|
||||
WaitForSingleObject((HANDLE)param_1[2],0xffffffff);
|
||||
EnterCriticalSection((LPCRITICAL_SECTION)(param_1 + 7));
|
||||
iVar1 = FUN_1400a77d0(param_1[3],param_1 + 0xc,param_3,param_4,uVar2);
|
||||
LeaveCriticalSection((LPCRITICAL_SECTION)(param_1 + 7));
|
||||
if (iVar1 != 1) break;
|
||||
(**(code **)(*param_1 + 8))(param_1);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue