Buggy code:
public final class ProAreaType extends AbstractStruct implements AddRemovable { public static final LongIntegerHashMap < String > s_proj = new LongIntegerHashMap < String > ( ) ; public static final String [ ] s_areaflags = new String [ ] { "Trap<seq2seq4repair_space>not<seq2seq4repair_space>visible" , "Trap<seq2seq4repair_space>visible" , "Triggered<seq2seq4repair_space>by<seq2seq4repair_space>inanimates" , "Triggered<seq2seq4repair_space>by<seq2seq4repair_space>condition" , "Delayed<seq2seq4repair_space>trigger" , "Secondary<seq2seq4repair_space>projectile" , "Fragments" , "Not<seq2seq4repair_space>affecting<seq2seq4repair_space>allies" , "Not<seq2seq4repair_space>affecting<seq2seq4repair_space>enemies" , "Mage-level<seq2seq4repair_space>duration" , "Cleric-level<seq2seq4repair_space>duration" , "Draw<seq2seq4repair_space>animation" , "Cone-shaped" , "Ignore<seq2seq4repair_space>visibility" , "Delayed<seq2seq4repair_space>explosion" , "Skip<seq2seq4repair_space>first<seq2seq4repair_space>condition" , "Single<seq2seq4repair_space>target" } ; public static final String [ ] s_areaflagsEx = new String [ ] { "No<seq2seq4repair_space>flags<seq2seq4repair_space>set" , "Paletted<seq2seq4repair_space>ring" , "Random<seq2seq4repair_space>speed" , "Start<seq2seq4repair_space>scattered" , "Paletted<seq2seq4repair_space>center" , "Repeat<seq2seq4repair_space>scattering" , "Paletted<seq2seq4repair_space>animation" , "" , "" , "" , "Oriented<seq2seq4repair_space>fireball<seq2seq4repair_space>puffs" , "Use<seq2seq4repair_space>hit<seq2seq4repair_space>dice<seq2seq4repair_space>lookup" , "" , "" , "Blend<seq2seq4repair_space>are//ring<seq2seq4repair_space>anim" , "Glow<seq2seq4repair_space>area//ring<seq2seq4repair_space>anim" } ; public ProAreaType ( ) throws Exception { } public ProAreaType ( AbstractStruct superStruct , byte [ ] buffer , int offset ) throws Exception { } @ Override public boolean canRemove ( ) { } @ Override public int read ( byte [ ] buffer , int offset ) throws Exception { final String [ ] s_types = ( ResourceFactory . isEnhancedEdition ( ) ) ? new String [ ] { "VVC" , "BAM" } : new String [ ] { "VEF" , "VVC" , "BAM" } ; addField ( new Flag ( buffer , offset , 4 , "Area<seq2seq4repair_space>flags" , ProAreaType . s_areaflags ) ) ; addField ( new DecNumber ( buffer , ( offset + 4 ) , 2 , "Trap<seq2seq4repair_space>size" ) ) ; addField ( new DecNumber ( buffer , ( offset + 6 ) , 2 , "Explosion<seq2seq4repair_space>size" ) ) ; addField ( new ResourceRef ( buffer , ( offset + 8 ) , "Explosion<seq2seq4repair_space>sound" , "WAV" ) ) ; addField ( new DecNumber ( buffer , ( offset + 16 ) , 2 , "Explosion<seq2seq4repair_space>frequency<seq2seq4repair_space>(frames)" ) ) ; addField ( new IdsBitmap ( buffer , ( offset + 18 ) , 2 , "Fragment<seq2seq4repair_space>animation" , "ANIMATE.IDS" ) ) ; addField ( new ProRef ( buffer , ( offset + 20 ) , "Secondary<seq2seq4repair_space>projectile" ) ) ; addField ( new DecNumber ( buffer , ( offset + 22 ) , 1 , "#<seq2seq4repair_space>repetitions" ) ) ; addField ( new infinity . datatype . HashBitmap ( buffer , ( offset + 23 ) , 1 , "Explosion<seq2seq4repair_space>effect" , ProAreaType . s_proj ) ) ; addField ( new ColorValue ( buffer , ( offset + 24 ) , 1 , "Explosion<seq2seq4repair_space>color" ) ) ; addField ( new Unknown ( buffer , ( offset + 25 ) , 1 , "Unused" ) ) ; addField ( new ProRef ( buffer , ( offset + 26 ) , "Explosion<seq2seq4repair_space>projectile" ) ) ; addField ( new ResourceRef ( buffer , ( offset + 28 ) , "Explosion<seq2seq4repair_space>animation" , s_types ) ) ; addField ( new DecNumber ( buffer , ( offset + 36 ) , 2 , "Cone<seq2seq4repair_space>width" ) ) ; if ( ( ResourceFactory . getGameID ( ) ) == ( ResourceFactory . ID_IWDEE ) ) { addField ( new Unknown ( buffer , ( offset + 38 ) , 2 ) ) ; addField ( new ResourceRef ( buffer , ( offset + 40 ) , "Spread<seq2seq4repair_space>animation" , s_types ) ) ; addField ( new ResourceRef ( buffer , ( offset + 48 ) , "Ring<seq2seq4repair_space>animation" , s_types ) ) ; addField ( new ResourceRef ( buffer , ( offset + 56 ) , "Area<seq2seq4repair_space>sound" , "WAV" ) ) ; addField ( new Flag ( buffer , ( offset + 64 ) , 4 , "Extended<seq2seq4repair_space>flags" , ProAreaType . s_areaflagsEx ) ) ; addField ( new UnsignDecNumber ( buffer , ( offset + 68 ) , 2 , "#<seq2seq4repair_space>dice<seq2seq4repair_space>for<seq2seq4repair_space>multiple<seq2seq4repair_space>targets" ) ) ; addField ( new UnsignDecNumber ( buffer , ( offset + 70 ) , 2 , "Dice<seq2seq4repair_space>size<seq2seq4repair_space>for<seq2seq4repair_space>multiple<seq2seq4repair_space>targets" ) ) ; addField ( new DecNumber ( buffer , ( offset + 72 ) , 2 , "Animation<seq2seq4repair_space>granularity" ) ) ; addField ( new DecNumber ( buffer , ( offset + 74 ) , 2 , "Animation<seq2seq4repair_space>granularity<seq2seq4repair_space>divider" ) ) ; <START_BUG> addField ( new Unknown ( buffer , ( offset + 38 ) , 180 ) ) ; <END_BUG> } else { addField ( new Unknown ( buffer , ( offset + 38 ) , 218 ) ) ; } return offset + 256 ; } }

Fix:
addField ( new Unknown ( buffer , ( offset + 76 ) , 180 ) ) ;