[+] (NT preload symbols) Missing obvious fast path under Aurora::IsBlocked

This commit is contained in:
Reece Wilson 2023-10-18 05:06:04 +01:00
parent 513a7aec7e
commit 7324a59e5b

View File

@ -58,10 +58,16 @@ namespace Aurora
for (AU_ITERATE_N(i, AuArraySize(gBlockedDLLTable))) for (AU_ITERATE_N(i, AuArraySize(gBlockedDLLTable)))
{ {
if (gBlockedDLLTable[i] == uHash) auto uCurrent = gBlockedDLLTable[i];
if (uCurrent == uHash)
{ {
return true; return true;
} }
else if (uCurrent == 0)
{
return false;
}
} }
return false; return false;