private void DoScroll()
{
float num3;
float num4;
int num = 0;
int index = 0;
while (index < this.m_ChangesetSelectionIndex)
{
if (this.m_GUIItems[index].inFilter)
{
num += this.m_GUIItems[index].height;
}
index++;
}
if (this.m_ChangeLogSelectionGUID != string.Empty)
{
num3 = (num + ((2 + this.m_AssetSelectionIndex) * this.m_RowHeight)) + 5;
num4 = (num3 - this.m_ScrollViewHeight) + this.m_RowHeight;
}
else
{
num3 = num;
num4 = ((num3 - this.m_ScrollViewHeight) + this.m_GUIItems[index].height) - 10f;
}
this.m_ScrollPos.y = Mathf.Clamp(this.m_ScrollPos.y, num4, num3);
}