INT8 __fastcall RtlSetProcessPlaceholderCompatibilityMode(UINT8 a1){
_PEB *Peb;
INT8 result;
if( a1 > 3u )
return -1;
Peb = KeGetCurrentThread()->ApcState.Process->Peb;
if( !Peb )
return -3;
result = Peb->PlaceholderCompatibilityMode;
Peb->PlaceholderCompatibilityMode = a1;
return result;
}