add agent manager release decomp
This commit is contained in:
parent
31ff800b2a
commit
fac6117145
7019 changed files with 254032 additions and 5 deletions
36
decomp/AgentManager_Release_x64/full/functions/0x14001dd00.c
Normal file
36
decomp/AgentManager_Release_x64/full/functions/0x14001dd00.c
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
||||
* Ghidra 12.1.2 decompiler output for 0x14001dd00 FUN_14001dd00
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
|
||||
/* WARNING: Removing unreachable block (ram,0x00014001dd76) */
|
||||
|
||||
undefined8 FUN_14001dd00(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_14016f5a0 ^ (ulonglong)auStack_168;
|
||||
if ((param_1 != 0) && (param_2 != 0)) {
|
||||
local_128 = '\0';
|
||||
memset(local_127,0,0x103);
|
||||
local_148 = param_1;
|
||||
FUN_14001c570(&local_128,0x104,"%s_%s",&DAT_140131920);
|
||||
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