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 0x14000a5e0 FUN_14000a5e0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
||||
/* WARNING: Removing unreachable block (ram,0x00014000a656) */
|
||||
|
||||
undefined8 FUN_14000a5e0(longlong param_1,longlong param_2)
|
||||
|
||||
{
|
||||
errno_t eVar1;
|
||||
undefined1 auStack_168 [32];
|
||||
longlong local_148;
|
||||
FILE *local_138 [2];
|
||||
char local_128;
|
||||
undefined1 local_127 [271];
|
||||
ulonglong local_18;
|
||||
|
||||
local_18 = DAT_1401ac5a0 ^ (ulonglong)auStack_168;
|
||||
if ((param_1 != 0) && (param_2 != 0)) {
|
||||
local_128 = '\0';
|
||||
memset(local_127,0,0x103);
|
||||
local_148 = param_1;
|
||||
FUN_140003470(&local_128,0x104,"%s_%s",&DAT_14015b1b0);
|
||||
local_138[0] = (FILE *)0x0;
|
||||
eVar1 = fopen_s(local_138,&local_128,"a");
|
||||
if ((eVar1 == 0) && (local_138[0] != (FILE *)0x0)) {
|
||||
fprintf(local_138[0],"%s");
|
||||
fflush(local_138[0]);
|
||||
fclose(local_138[0]);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue