AnFwConfigureProgressResources

PVOID __fastcall AnFwConfigureProgressResources(_DWORD *a1){
  void *v2; 
  void *v3; 
  unsigned int BitsPerPixel; 
  __int128 v6; 
  int v7; 
  int v8; 
  PVOID Region; 
  Region = 0i64;
  *((_QWORD *)&v6 + 1) = 0i64;
  KeInitializeEvent(&stru_140CF2E80, NotificationEvent, 1u);
  if( !a1 )
    return 0i64;
  if( (a1[6] & 1) == 0 )
    return 0i64;
  if( (int)BgpFoGetFontHandle(0i64, (VOID **)&v6 + 1) < 0 )
    return 0i64;
  *(_QWORD *)&v6 = Color;
  v7 = a1[5];
  v8 = 1;
  if( (int)BgpTxtCreateRegion(a1, a1 + 2, &v6, &Region, 10) < 0 )
    return 0i64;
  BitsPerPixel = BgpGetBitsPerPixel(v3, v2);
  dword_140C13334 = ((BgpGxRectangleSize((unsigned int)a1[3], (unsigned int)a1[2], BitsPerPixel) + 15) & 0xFFFFFFF0)
                  + 128;
  dword_140C13330 = 122 * dword_140C13334;
  dword_140C13338 = BgpTxtRegionSize(Region);
  return Region;
}

Referenced by:

BgpFwLibraryInitialize