Since this uses READ_LE_UINT16 I assume this comes directly from game data. In this case "assert" is not really a useful way to assure the data is sane since assert can be disabled in release builds.