x86BiosCall

BOOL __stdcall x86BiosCall(UINT8 a1, INT64 a2){
  bool v2; 

  v2 = 0;
  if( byte_140C50504 )
  {
    if( _InterlockedIncrement(&HalpBiosCallCount) == 1 || byte_140C4A111 )
      v2 = x86BiosExecuteInterruptShadowed(a1, a2) == 1;
    else
      __int2c();
    _InterlockedDecrement(&HalpBiosCallCount);
    return v2;
  }
  else
  {
    __int2c();
    return 0;
  }
}

Referenced by:

HalpBiosDisplayReset