SmHpChunkHeapProtect
INT64 __fastcall SmHpChunkHeapProtect(INT64 a1, CHAR a2, UINT64 a3){
unsigned int v3;
unsigned int i;
INT64 v7;
INT64 result;
_QWORD *v9;
v3 = 1;
for( i = a3; v3 < *(_DWORD *)(a1 + 256); ++v3 )
{
_BitScanReverse((unsigned int *)&v7, v3);
result = v3;
v9 = (_QWORD *)(*(_QWORD *)(a1 + 8 * v7) + 16 * (v3 ^ (unsigned __int64)(unsigned int)(1 << v7)));
if( *v9 )
result = SmHpBufferProtectEx(v7, (INT64)v9, a2, i);
}
return result;
}Referenced by:
SMKM_STORE::SmStUnhandledExceptionFilter
ST_STORE::StDmCleanup
ST_STORE::StWorkItemProcess