INT64 __stdcall KdpPollBreakInWithPortLock(UINT64 Msr, UINT64 *Data){
bool v2;
INT64 result;
v2 = 0;
if( (_BYTE)KdDebuggerEnabled )
{
if( BYTE4(KdpContext) )
{
v2 = 1;
BYTE4(KdpContext) = 0;
}
else
{
result = KdReceivePacket(8i64, 0i64, 0i64, 0i64, 0i64);
v2 = (_DWORD)result == 0;
}
}
LOBYTE(result) = v2;
return result;
}