MiMakeUnusedImageExtentsCold
UINT64 __fastcall MiMakeUnusedImageExtentsCold(INT64 rcx0){
UINT64 LeafPfnBuddy;
char *v3;
INT64 v4;
int v5;
INT64 result[16];
memset((INT64)result, 0i64);
LeafPfnBuddy = *(_QWORD *)(rcx0 + 96);
v3 = *(char **)(*(_QWORD *)(LeafPfnBuddy + 32) + 104i64);
v4 = 0i64;
v5 = 16;
if( v3 )
{
do
{
MiAddPageToHeatList(&v4, (v3 - (char *)MmGetPfnDb()) / 48, 3i64);
LeafPfnBuddy = MiGetLeafPfnBuddy(v3);
v3 = (char *)LeafPfnBuddy;
}
while( LeafPfnBuddy );
if( HIDWORD(v4) )
return MiNotifyPageHeat(&v4);
}
return LeafPfnBuddy;
}Referenced by:
MiRelocateImage