BgpFoGetFontHandle

INT64 __fastcall BgpFoGetFontHandle(WCHAR *FontName, VOID **FontHandle){
  int v4; 
  __int64 i; 
  const wchar_t **j; 
  v4 = -1073741275;
  if( !FontHandle || !FontLibraryInitialized )
    return 3221225485i64;
  *FontHandle = 0i64;
  for( i = FopFontFileListHead; (__int64 *)i != &FopFontFileListHead; i = *(_QWORD *)i )
  {
    for( j = *(const wchar_t ***)(i + 40); j != (const wchar_t **)(i + 40); j = (const wchar_t **)*j )
    {
      if( FontName )
      {
        if( !wcsicmp(j[4], FontName) )
        {
LABEL_9:
          *FontHandle = j;
          v4 = 0;
          break;
        }
      }
      else if( (*(_DWORD *)(i + 28) & 1) != 0 )
      {
        goto LABEL_9;
      }
    }
    if( v4 >= 0 )
      break;
  }
  return(unsigned int)v4;
}

Referenced by:

AnFwConfigureProgressResources
BgpConsoleInitialize
BgpFoDetermineFontInformation
BgpTxtCreateRegion
BgpTxtGetRegionContext
ResFwConfigureDisplayStringResources