RtlIncrementCorrelationVector

INT64 __fastcall RtlIncrementCorrelationVector(BYTE *a1){
  unsigned int v1; 
  int CorrelationVectorBufferLength; 
  int CorrelationVectorLastDotPosition; 
  int v5; 
  BYTE *v6; 
  int v7; 
  int v9; 
  char DstBuf[16]; 
  v1 = 0;
  CorrelationVectorBufferLength = RtlpGetCorrelationVectorBufferLength(a1);
  CorrelationVectorLastDotPosition = RtlpGetCorrelationVectorLastDotPosition(a1);
  v5 = CorrelationVectorLastDotPosition;
  if( CorrelationVectorLastDotPosition >= 0
    && (v6 = &a1[CorrelationVectorLastDotPosition + 1], sscanf_s((PSTR)v6 + 1, (PSTR)"%d") == 1)
    && (v9 = 1, v7 = snprintf_s(DstBuf, 0xCui64, 0xCui64, "%d", v9), v7 < CorrelationVectorBufferLength - v5 - 2) )
  {
    strcpy_s((PSTR)v6 + 1, v7 + 1, DstBuf);
  }
  else
  {
    return(unsigned int)-2147483643;
  }
  return v1;
}

Referenced by:

No references.