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,39 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400b0130 FUN_1400b0130
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
||||
|
||||
longlong * FUN_1400b0130(__time64_t *param_1,longlong *param_2,wchar_t *param_3)
|
||||
|
||||
{
|
||||
errno_t eVar1;
|
||||
size_t sVar2;
|
||||
wchar_t *pwVar3;
|
||||
undefined1 auStack_178 [32];
|
||||
undefined4 local_158;
|
||||
tm local_150;
|
||||
wchar_t local_128 [128];
|
||||
ulonglong local_28;
|
||||
|
||||
local_28 = DAT_1401ac5a0 ^ (ulonglong)auStack_178;
|
||||
local_158 = 0;
|
||||
if (param_3 == (wchar_t *)0x0) {
|
||||
pwVar3 = (wchar_t *)0x0;
|
||||
}
|
||||
else {
|
||||
eVar1 = _localtime64_s(&local_150,param_1);
|
||||
if (eVar1 != 0) {
|
||||
/* WARNING: Subroutine does not return */
|
||||
FUN_1400064e0(0x80070057);
|
||||
}
|
||||
sVar2 = wcsftime(local_128,0x80,param_3,&local_150);
|
||||
if (sVar2 == 0) {
|
||||
local_128[0] = L'\0';
|
||||
}
|
||||
pwVar3 = local_128;
|
||||
}
|
||||
FUN_14006c940(param_2,pwVar3);
|
||||
return param_2;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue