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