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,38 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x14000a750 FUN_14000a750
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
||||
|
||||
undefined8 FUN_14000a750(byte param_1,longlong param_2)
|
||||
|
||||
{
|
||||
HANDLE hConsoleOutput;
|
||||
BOOL BVar1;
|
||||
undefined8 uVar2;
|
||||
undefined1 auStack_58 [32];
|
||||
HANDLE local_38;
|
||||
_CONSOLE_SCREEN_BUFFER_INFO local_30;
|
||||
ulonglong local_18;
|
||||
|
||||
local_18 = DAT_1401ac5a0 ^ (ulonglong)auStack_58;
|
||||
if (param_2 == 0) {
|
||||
uVar2 = 0;
|
||||
}
|
||||
else {
|
||||
local_38 = (HANDLE)0xffffffffffffffff;
|
||||
BVar1 = FUN_14000a6f0(&local_38,&local_30);
|
||||
hConsoleOutput = local_38;
|
||||
if (BVar1 == 0) {
|
||||
wprintf(L"%s");
|
||||
}
|
||||
else {
|
||||
SetConsoleTextAttribute(local_38,(ushort)(param_1 & 0xf) | local_30.wAttributes & 0xf0);
|
||||
wprintf(L"%s");
|
||||
SetConsoleTextAttribute(hConsoleOutput,local_30.wAttributes);
|
||||
}
|
||||
uVar2 = 1;
|
||||
}
|
||||
return uVar2;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue