int __thiscall VgaModeEnable(int *this)
{
int v2; // ecx
int result; // eax
PciRegWrite(*(this + 15), 510525556, 0xFFFF);
PciRegWrite(v2, 510525564, -16711936);
result = VgaModeSetOffset((int)this, 0);
if ( result )
return VgaModeSetPitch(this) != 0;
return result;
}