server-re/decomp/MessageServer_Release_x64/full/functions/0x140077a00.c

25 lines
867 B
C

/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
* Ghidra 12.1.2 decompiler output for 0x140077a00 __GSHandlerCheckCommon
* Pseudocode, not original source. */
/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */
/* Library Function - Single Match
__GSHandlerCheckCommon
Libraries: Visual Studio 2008 Release, Visual Studio 2010 Release, Visual Studio 2012 Release,
Visual Studio 2019 Release */
longlong __GSHandlerCheckCommon(undefined8 param_1,longlong param_2)
{
longlong lVar1;
longlong lVar2;
lVar1 = *(longlong *)(param_2 + 0x10);
lVar2 = (ulonglong)*(uint *)(lVar1 + 8) + *(longlong *)(param_2 + 8);
if ((*(byte *)(lVar2 + 3) & 0xf) != 0) {
lVar1 = (longlong)(int)(*(byte *)(lVar2 + 3) & 0xfffffff0);
}
return lVar1;
}