TagDefineEditText is not read correctly
0xE1 opened this issue · comments
Anton commented
"data.reset_bits_pending()" is required after "self.bounds = data.readRECT()", otherwise there's 1 byte shift.
fontHeight have to be read with hasFont or hasFontClass flag. Currently only hasFont is checked.
Otherwise there's 2 bytes shift after that.
Ref1: http://sourceforge.net/adobe/swfinvestigator/code/17/tree/trunk/SWFInvestigator/src/decompiler/swfdump/TagDecoder.as#l1191
Ref2: http://sourceforge.net/adobe/swfinvestigator/code/17/tree/trunk/SWFInvestigator/src/decompiler/swfdump/TagDecoder.as#l1162
Example: http://pastebin.com/jyjd1FrB