RtlpGetCorrelationVectorEndPosition
INT64 __fastcall RtlpGetCorrelationVectorEndPosition(BYTE *a1){
int CorrelationVectorBufferLength;
int v2;
__int64 v3;
int v4;
__int64 i;
INT64 result;
CorrelationVectorBufferLength = RtlpGetCorrelationVectorBufferLength(a1);
v4 = CorrelationVectorBufferLength;
if( CorrelationVectorBufferLength > 0 )
{
for( i = 0i64; i < CorrelationVectorBufferLength; ++i )
{
if( !*(_BYTE *)(v3 + i + 1) )
break;
++v2;
}
}
result = 0xFFFFFFFFi64;
if( v4 > v2 )
return(unsigned int)v2;
return result;
}Referenced by:
RtlExtendCorrelationVector
RtlValidateCorrelationVector