__int64 __fastcall KdpInsertBreakpoint(__int64 a1, UINT64 *a2){
int v2;
__int64 v3;
__int64 v4;
VOID *v5;
NTSTATUS v6;
v2 = 0;
KdpWriteInstructionBuffer(a2, *(_QWORD *)(a1 + 16), *(_BYTE *)(a1 + 36));
v6 = KdpCopyCodeStream(
v4 & ~(unsigned __int64)*(unsigned __int8 *)(v3 + 37),
v5,
(VOID *)*(unsigned __int8 *)(v3 + 36),
5ui64);
if( v6 < 0 )
return 0i64;
if( v6 == 259 )
v2 = 2;
return v2 | 1u;
}