KdpRemoveBreakpoint

__int64 __fastcall KdpRemoveBreakpoint(__int64 a1, UINT64 *a2){
  __int64 v3; 
  VOID *v4; 
  NTSTATUS v5; 
  int v7; 
  int v8; 

  KdpWriteInstructionBuffer(a2, *(_QWORD *)(a1 + 24), *(_BYTE *)(a1 + 36));
  v5 = KdpCopyCodeStream(
         v3 & ~(unsigned __int64)*(unsigned __int8 *)(a1 + 37),
         v4,
         (VOID *)*(unsigned __int8 *)(a1 + 36),
         5ui64);
  if( v5 < 0 )
    return 0i64;
  v7 = *(_DWORD *)(a1 + 32);
  if( (v7 & 4) != 0 )
    v8 = v7 | 5;
  else
    v8 = 0;
  *(_DWORD *)(a1 + 32) = v8;
  if( v5 == 259 )
    *(_DWORD *)(a1 + 32) = v8 | 9;
  return 1i64;
}

Referenced by:

KdpLowWriteContent
KdpSetOwedBreakpoints