int __thiscall VgaModeSetClock(_DWORD *this)
{
int result; // eax
result = (VgaCrtcRegAnd(0xAAu, 0xFFu) & 3) - 1;
if ( result )
{
if ( --result )
{
if ( --result )
*(this + 10) = 0x800000;
else
*(this + 10) = 0x4000000;
}
else
{
*(this + 10) = 0x2000000;
}
}
else
{
*(this + 10) = 0x1000000;
}
return result;
}