Yeild the EDO size

Return TypeFunction nameArguments
uint32_thzEdo::Total(void)

Declared in file: hzDatabase.h
Defined in file : hdbObjRepos.cpp

Function Logic:

0:START 1:unknown 2:Return 0 3:pSlot 4:unknown 5:Return 0 6:unknown 7:unknown 8:pSlot ( 9:( 10:( 11:nSize 12:pSlot 13:( 14:( 15:nSize 16:pSlot 17:nSize 18:Return nSize

Function body:

uint32_t hzEdo::Total (void)
{
   //  Yeild the EDO size
   uchar*      pSlot ;     //  EDO string space
   uint32_t    nSize ;     //  EDO size
   if (!m_addr)
       return 0;
   pSlot = g_pSMAR_Edo->Xlate(m_addr) ;
   if (!pSlot)
       return 0;
   if (pSlot[0]& 0x80)
   {
       if (pSlot[0]& 0x40)
           nSize = (((pSlot[0]& 0x3f)<<16)+(pSlot[1]<<8)+pSlot[2])+ 3;
       else
           nSize = (((pSlot[0]& 0x3f)<<8)+pSlot[1])+2;
   }
   else
       nSize = pSlot[0]+ 1;
   return nSize ;
}