__int64 __fastcall EtwpClearPartitionContext(INT64 *a1){ INT64 v2; v2 = *a1; if( v2 ) { PsDereferencePartition(v2); *a1 = 0i64; } return 0i64; }