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
33
decomp/DBCServer_Release_x64/full/functions/0x1401e4730.c
Normal file
33
decomp/DBCServer_Release_x64/full/functions/0x1401e4730.c
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401e4730 FUN_1401e4730
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
||||
|
||||
int FUN_1401e4730(longlong param_1)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
int iVar2;
|
||||
undefined1 auStack_58 [32];
|
||||
undefined1 local_38 [32];
|
||||
ulonglong local_18;
|
||||
|
||||
local_18 = DAT_1403463c0 ^ (ulonglong)auStack_58;
|
||||
if (param_1 == 0) {
|
||||
return 0x10;
|
||||
}
|
||||
EnterCriticalSection((LPCRITICAL_SECTION)(param_1 + 0x1030));
|
||||
iVar2 = 0;
|
||||
do {
|
||||
iVar1 = FUN_140205850((longlong)iVar2 * 0x70 + param_1,local_38);
|
||||
if (iVar1 != 0) {
|
||||
LeaveCriticalSection((LPCRITICAL_SECTION)(param_1 + 0x1030));
|
||||
return iVar1;
|
||||
}
|
||||
iVar2 = iVar2 + 1;
|
||||
} while (iVar2 < 0x20);
|
||||
LeaveCriticalSection((LPCRITICAL_SECTION)(param_1 + 0x1030));
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue