server-re/decomp/Agent_Release_x64/full/functions/0x14002fbd0.c
2026-10-14 16:45:19 -04:00

46 lines
1.2 KiB
C

/* Agent_Release_x64.exe sha256 6f2be7b8eb799ba51b359d1958720aac5baee5b7ee0d1d36684d3cbd72d45469
* Ghidra 12.1.2 decompiler output for 0x14002fbd0 FUN_14002fbd0
* Pseudocode, not original source. */
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
undefined * FUN_14002fbd0(void)
{
bool bVar1;
int iVar2;
char cVar3;
undefined1 auStack_58 [32];
undefined *local_38;
char local_30;
undefined8 local_28;
CHAR local_20 [8];
ulonglong local_18;
local_28 = 0xfffffffffffffffe;
local_18 = DAT_1401555a0 ^ (ulonglong)auStack_58;
local_38 = &DAT_14015bf48;
local_30 = '\0';
bVar1 = FUN_14002e780((int *)&DAT_14015bf48);
cVar3 = '\0';
if ((bVar1) && (cVar3 = local_30, DAT_140155000 != '\0')) {
local_30 = '\x01';
FUN_14002e6e0((int *)&DAT_14015bf48);
cVar3 = '\x01';
}
if ((DAT_14015bf08 & 1) == 0) {
DAT_14015bf08 = DAT_14015bf08 | 1;
_DAT_14015bf04 = 0;
iVar2 = GetLocaleInfoA(0x800,5,local_20,7);
if (iVar2 != 0) {
_DAT_14015bf04 = atoi(local_20);
}
}
DAT_140155000 = 0;
if (cVar3 != '\0') {
FUN_14002e770(0x14015bf48);
}
return &DAT_14015bf04;
}