RtlpHpLfhContextCleanup

_QWORD *__fastcall RtlpHpLfhContextCleanup(INT64 a1){
  _QWORD **v2; 
  __int64 v3; 
  _QWORD *result; 
  _QWORD *v5; 
  __int64 v6; 
  __int64 v7; 
  v2 = (_QWORD **)(a1 + 128);
  v3 = 129i64;
  do
  {
    result = *v2;
    if( ((unsigned __int8)*v2 & 1) == 0 )
    {
      v5 = *v2;
      if( *((_BYTE *)*v2 + 2) )
      {
        v6 = 0i64;
        v7 = *((unsigned __int8 *)*v2 + 2);
        do
        {
          RtlpHpLfhOwnerCleanup(a1, *(_QWORD *)(v6 + v5[12]));
          v6 += 8i64;
          --v7;
        }
        while( v7 );
      }
      result = RtlpHpLfhOwnerCleanup(a1, (INT64)v5);
    }
    ++v2;
    --v3;
  }
  while( v3 );
  return result;
}

Referenced by:

RtlpHpHeapDestroy