RaspLoadGlyphData

NTSTATUS __fastcall RaspLoadGlyphData(
        __int64 a1,
        int a2,
        __int64 a3,
        _GLYPH_DATA **GlyphData,
        _BG_RASTERIZER_WORKSPACE *Workspace){
  int v9; 
  __int64 v10; 
  __int16 v12; 

  if( !a1 )
    return -1073741823;
  v9 = *(_DWORD *)(a1 + 60);
  if( !v9 )
    return -1073741823;
  if( a2 == -1 )
    return RaspLoadEmptyGlyph(GlyphData, Workspace);
  v10 = *(_QWORD *)(a1 + 16);
  v12 = 0;
  FioFwReadUshortAtOffset(*(_FILE_IMAGE **)(v10 + 16), (unsigned int)(v9 + a2), (UINT16 *)&v12);
  if( v12 < 0 )
    return RaspLoadCompositeGlyphData(a1, a2, a3, GlyphData, Workspace);
  else
    return RaspInitializeGlyphData(a1, a2, GlyphData, Workspace);
}

Referenced by:

RaspGetCompositeGlyphList
RaspGetUnscaledGlyphData