x86BiosInitializeBiosEx

CHAR __stdcall x86BiosInitializeBiosEx(INT64 a1, INT64 a2, INT64 a3, INT64 a4){
  CHAR result; 

  memset(&unk_140C4A4E0, 0i64, 0x800u);
  qword_140C4A4B0 = 0i64;
  qword_140C4A4D8 = a2;
  qword_140C4A4B8 = a3;
  result = XmInitializeEmulator();
  x86BiosInitialized = 1;
  qword_140C50720 = a4;
  dword_140C50718 = 0x2000;
  if( qword_140C00630 )
  {
    if( !byte_140C50710 )
    {
      byte_140C50710 = 1;
      qword_140C4A4C8 = (__int64)x86BiosGetPciBusData;
      qword_140C4A4D0 = (__int64)x86BiosSetPciBusData;
      result = dword_140C50750;
      byte_140C5071D = -1;
      if( dword_140C50750 )
      {
        if( dword_140C50750 != 255 )
        {
          result = dword_140C50750 + 1;
          byte_140C5071D = dword_140C50750 + 1;
        }
      }
    }
  }
  return result;
}

Referenced by:

HalInitializeBios