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,49 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x14000a950 FUN_14000a950
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
||||
|
||||
bool FUN_14000a950(wchar_t *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
undefined8 uVar1;
|
||||
bool bVar2;
|
||||
undefined8 local_res10;
|
||||
undefined8 local_res18;
|
||||
undefined8 local_res20;
|
||||
undefined1 auStack_648 [32];
|
||||
wchar_t local_628;
|
||||
undefined1 local_626 [510];
|
||||
wchar_t local_428;
|
||||
undefined1 local_426 [510];
|
||||
wchar_t local_228;
|
||||
undefined1 local_226 [526];
|
||||
ulonglong local_18;
|
||||
|
||||
local_18 = DAT_1401ac5a0 ^ (ulonglong)auStack_648;
|
||||
local_res10 = param_2;
|
||||
local_res18 = param_3;
|
||||
local_res20 = param_4;
|
||||
EnterCriticalSection((LPCRITICAL_SECTION)&DAT_1401bcfc8);
|
||||
local_428 = L'\0';
|
||||
memset(local_426,0,0x1fe);
|
||||
vswprintf_s(&local_428,0x100,param_1,(va_list)&local_res10);
|
||||
local_228 = L'\0';
|
||||
memset(local_226,0,0x206);
|
||||
local_628 = L'\0';
|
||||
memset(local_626,0,0x1fe);
|
||||
uVar1 = FUN_140009fd0(&local_628,&local_228,(longlong)&local_428,0);
|
||||
bVar2 = (int)uVar1 != 0;
|
||||
if (bVar2) {
|
||||
FUN_14000a4c0((longlong)&local_228,(longlong)&local_628);
|
||||
OutputDebugStringW(&local_628);
|
||||
wprintf(L"%s");
|
||||
LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_1401bcfc8);
|
||||
}
|
||||
else {
|
||||
LeaveCriticalSection((LPCRITICAL_SECTION)&DAT_1401bcfc8);
|
||||
}
|
||||
return bVar2;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue