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,36 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x14000a4c0 FUN_14000a4c0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
||||
/* WARNING: Removing unreachable block (ram,0x00014000a540) */
|
||||
|
||||
undefined8 FUN_14000a4c0(longlong param_1,longlong param_2)
|
||||
|
||||
{
|
||||
errno_t eVar1;
|
||||
undefined1 auStack_268 [32];
|
||||
longlong local_248;
|
||||
FILE *local_238 [2];
|
||||
wchar_t local_228;
|
||||
undefined1 local_226 [526];
|
||||
ulonglong local_18;
|
||||
|
||||
local_18 = DAT_1401ac5a0 ^ (ulonglong)auStack_268;
|
||||
if ((param_1 != 0) && (param_2 != 0)) {
|
||||
local_228 = L'\0';
|
||||
memset(local_226,0,0x206);
|
||||
local_248 = param_1;
|
||||
FUN_140003440(&local_228,0x104,L"%s_%s",&DAT_14015b1a8);
|
||||
local_238[0] = (FILE *)0x0;
|
||||
eVar1 = _wfopen_s(local_238,&local_228,L"a");
|
||||
if ((eVar1 == 0) && (local_238[0] != (FILE *)0x0)) {
|
||||
fwprintf(local_238[0],L"%s");
|
||||
fflush(local_238[0]);
|
||||
fclose(local_238[0]);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue