RtlClearBitsEx
VOID __fastcall RtlClearBitsEx(INT64 a1, UINT64 a2, UINT64 a3){
UINT64 v4;
_BYTE *v5;
UINT64 v6;
char v7;
if( a3 )
{
v4 = a2 & 7;
v5 = (_BYTE *)(*(_QWORD *)(a1 + 8) + (a2 >> 3));
v6 = a3;
if( v4 + a3 <= 8 )
{
v7 = ~(byte_14001DA00[a3] << v4);
LABEL_4:
*v5 &= v7;
return;
}
if( (_DWORD)v4 )
{
*v5++ &= byte_14001DA00[v4];
v6 = a3 - (unsigned int)(8 - v4);
}
if( v6 > 8 )
{
memset((INT64)v5, 0i64);
v5 += v6 >> 3;
v6 &= 7u;
}
if( v6 )
{
v7 = byte_14001A768[v6];
goto LABEL_4;
}
}
}Referenced by:
ExpSaPageGroupFreeMemory
IopAddPageRangeToPageMaps
IopLiveDumpDiscardVirtualAddressRange
IopRemovePageFromPageMap
MiActOnMirrorBitmap
MiActOnPartitionNodePages
MiAddRangeToPartitionTree
MiClearRangeInPartitionTree
MiClearVadCellBits
MiCopyToCfgBitMap
MiDeleteAweInfoPages
MiExtendDynamicBitMap
MiFreeToSubAllocatedRegion
MiHotRemoveHugeRange
MiInitializeDriverImages
MiMakeSystemRangeAvailable
MiMarkRetpolineBits
MiMarkSystemVaAllocated
MiMirrorOmitPagesFromCopy
MiObtainRelocationBits
MiReleaseSessionVa
MiReturnImageBase
MiUpdateLargePageBitMap
RtlFindSetBitsAndClearEx
RtlShiftLeftBitMapEx
RtlpHpFixedVsFree