private unsafe static bool ValidateStringArray(ushort *pDataPool, uint offsetInPool, int poolSize)
{
if (!ValidateUintArray(pDataPool, offsetInPool, poolSize))
return false;
// Get our count
ushort* pCount = pDataPool + offsetInPool;
int arrayLength = pCount[0];
if (arrayLength == 0)
return true;
// Get our dword *
uint* uints = (uint*)(pCount + 1);
for (int i=0; i<arrayLength; i++)
{
if (!ValidateString(pDataPool, uints[i], poolSize))
return false;
}
return true;
}