INT64 __stdcall PsGetThreadExitStatus(_ETHREAD *Thread){
struct _EX_RUNDOWN_REF *v1;
v1 = (struct _EX_RUNDOWN_REF *)((char *)Thread + 1272);
if( !ExAcquireRundownProtection((PEX_RUNDOWN_REF)Thread + 159) )
return *((unsigned int *)Thread + 338);
ExReleaseRundownProtection(v1);
return 259i64;
}