use main header, parse variable types, asm patch comment