($classes, $states) = AAT_read_subtable($fh, $baseOffset, $subtableStart, $limits)
$length = AAT_write_state_table($fh, $classes, $states, $numExtraTables, $packEntry)
$packEntry is a subroutine for packing an entry into binary form, called as
$dat = $packEntry($entry, $entryTable, $numEntries)
where the entry is a comma-separated list of nextStateOffset, flags, actions