protected void setVars(BinaryReader reader, SquashSuperBlock superBlock) throws IOException {

		// If the current inode uses fragments, the number of blocks is calculated differently
		if (fragmentIndex == SquashConstants.INODE_NO_FRAGMENTS) {
			numberOfBlocks =
				(int) ((fileSize + superBlock.getBlockSize() - 1) / superBlock.getBlockSize());
		}
		else {
			numberOfBlocks = (int) (fileSize / superBlock.getBlockSize());
			tailEndSize = (int) (fileSize % superBlock.getBlockSize());
		}

		// Fetch and store the block sizes for the file
		blockSizes = reader.readNextIntArray(numberOfBlocks);
	}
Calculate the derived variables for this file
@param reader A binary reader with pointer index at the start of the inode data
@param superBlock The superblock for the current archive
@throws IOException Any read operation failure
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/squashfs/SquashBasicFileInode.java