CmpValueEnumStackStartFromKcbStack

INT64 __fastcall CmpValueEnumStackStartFromKcbStack(INT64 a1, INT64 a2){
  int started; 
  INT64 result[10]; 
  memset((INT64)result, 0i64);
  CmpInitializeKeyNodeStack((INT64)result);
  started = CmpStartKeyNodeStackFromKcbStack((INT64)result, a2);
  if( started >= 0 )
  {
    started = CmpValueEnumStackStartFromKeyNodeStack(a1, (__int16 *)result);
    if( started >= 0 )
      started = 0;
  }
  CmpCleanupKeyNodeStack((INT64)result);
  return(unsigned int)started;
}

Referenced by:

CmEnumerateValueFromLayeredKey