internal static bool CompareIntPtr(Playable lhs, Playable rhs) { bool flag = (lhs == null) || !IsNativePlayableAlive(lhs); bool flag2 = (rhs == null) || !IsNativePlayableAlive(rhs); if (flag2 && flag) { return true; } if (flag2) { return !IsNativePlayableAlive(lhs); } if (flag) { return !IsNativePlayableAlive(rhs); } return (lhs.GetUniqueIDInternal() == rhs.GetUniqueIDInternal()); }
internal static bool CompareIntPtr(Playable lhs, Playable rhs) { bool flag = (object)lhs == null || !IsNativePlayableAlive(lhs); bool flag2 = (object)rhs == null || !IsNativePlayableAlive(rhs); if (flag2 && flag) { return(true); } if (flag2) { return(!IsNativePlayableAlive(lhs)); } if (flag) { return(!IsNativePlayableAlive(rhs)); } return(lhs.GetUniqueIDInternal() == rhs.GetUniqueIDInternal()); }
internal static bool CompareIntPtr(Playable lhs, Playable rhs) { bool flag1 = (object) lhs == null || !Playable.IsNativePlayableAlive(lhs); bool flag2 = (object) rhs == null || !Playable.IsNativePlayableAlive(rhs); if (flag2 && flag1) return true; if (flag2) return !Playable.IsNativePlayableAlive(lhs); if (flag1) return !Playable.IsNativePlayableAlive(rhs); return lhs.GetUniqueIDInternal() == rhs.GetUniqueIDInternal(); }