CmpLightWeightCleanupModifyKeyDataUoW

VOID __fastcall CmpLightWeightCleanupModifyKeyDataUoW(UINT64 a1, UINT64 *a2){
  INT64 v5; 
  INT64 v6; 

  if( (*(_DWORD *)a2)-- == 1 )
  {
    v5 = *((unsigned int *)a2 + 3);
    if( (_DWORD)v5 != -1 )
      CmpFreeIndexByCell(a1, v5);
    v6 = *((unsigned int *)a2 + 4);
    if( (_DWORD)v6 != -1 )
      CmpFreeIndexByCell(a1, v6);
    CmpFreeTransientPoolWithTag(a2, 0x77554D43ui64);
  }
}

Referenced by:

CmpCleanupLightWeightPrepare
CmpLightWeightCommitAddKeyUoW
CmpLightWeightCommitDeleteKeyUoW
CmpLightWeightCommitRenameKeyUoW
CmpLightWeightCreateModificationData
CmpLightWeightPrepareAddKeyUoW
CmpLightWeightPrepareDeleteKeyUoW
CmpLightWeightPrepareRenameKeyUoW