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
|
|
@ -0,0 +1,29 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x140009e40 FUN_140009e40
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined4 FUN_140009e40(undefined8 *param_1)
|
||||
|
||||
{
|
||||
DWORD DVar1;
|
||||
uint extraout_EAX;
|
||||
HANDLE pvVar2;
|
||||
wchar_t *_Format;
|
||||
|
||||
pvVar2 = CreateMutexW((LPSECURITY_ATTRIBUTES)0x0,1,L"Global\\RustyHearts_MESSAGE");
|
||||
*param_1 = pvVar2;
|
||||
DVar1 = GetLastError();
|
||||
if (DVar1 == 5) {
|
||||
_Format = L"ERROR_ACCESS_DENIED!!! %s \n";
|
||||
}
|
||||
else {
|
||||
if (DVar1 != 0xb7) {
|
||||
return CONCAT31((int3)(DVar1 >> 8),1);
|
||||
}
|
||||
_Format = L"ERROR_ALREADY_EXISTS!!! %s \n";
|
||||
}
|
||||
wprintf(_Format);
|
||||
Sleep(3000);
|
||||
return extraout_EAX & 0xffffff00;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue