CmpAppendLine

CHAR __fastcall CmpAppendLine(_QWORD *a1, INT64 a2, CHAR a3){
  VOID **PoolWithTag; 
  VOID **v7; 
  VOID ***v8; 
  CHAR result; 

  if( !a1[1] )
    return 0;
  PoolWithTag = ExAllocatePoolWithTag(1ui64, 0x20ui64, 1768967491i64);
  v7 = PoolWithTag;
  if( !PoolWithTag )
    return 0;
  *PoolWithTag = 0i64;
  PoolWithTag[2] = 0i64;
  PoolWithTag[1] = (VOID *)a2;
  *((_BYTE *)PoolWithTag + 24) = a3;
  v8 = (VOID ***)a1[2];
  if( v8 )
    *v8 = v7;
  else
    *(_QWORD *)(a1[1] + 16i64) = v7;
  a1[3] = 0i64;
  result = 1;
  a1[2] = v7;
  return result;
}

Referenced by:

CmpParseInfBuffer