NTSTATUS __stdcall PspDeletePartition(ULONG_PTR BugCheckParameter2){
void *v1;
NTSTATUS result;
v1 = *(void **)(*(_QWORD *)&BugCheckParameter2 + 24i64);
if( v1 )
KeBugCheckEx(0x18Eu, 0i64, *(PVOID *)&BugCheckParameter2, v1, 0i64);
if( *(_QWORD *)(*(_QWORD *)&BugCheckParameter2 + 40i64) )
return PspRemovePartitionFromGlobalList(*(INT64 *)&BugCheckParameter2);
return result;
}