title: Baksmali error for android odex file
body: <p>I downloaded core.odex and framework.odex from my Samsung Galaxy Player, in order to make some changes for the hidden apis, following this webpage: <a href="https://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-2-hacking-around/" rel="nofollow">https://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-2-hacking-around/</a></p>
  
  <p>Also, I got baksmali and smali from here: <a href="http://forum.xda-developers.com/showthread.php?t=1650243" rel="nofollow">http://forum.xda-developers.com/showthread.php?t=1650243</a></p>
  
  <p>Now, when I run the command: <strong>java -jar baksmali-1.3.3.jar -c :core.odex -x framework.odex</strong>, the following error appears:</p>
  
  <pre><code>UNEXPECTED TOP-LEVEL EXCEPTION:
  org.jf.dexlib.Util.ExceptionWithContext: regCount does not match the number of arguments of the method
      at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithContext.java:54)
      at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(InstructionIterator.java:92)
      at org.jf.dexlib.CodeItem.readItem(CodeItem.java:154)
      at org.jf.dexlib.Item.readFrom(Item.java:76)
      at org.jf.dexlib.OffsettedSection.readItems(OffsettedSection.java:48)
      at org.jf.dexlib.Section.readFrom(Section.java:143)
      at org.jf.dexlib.DexFile.&lt;init&gt;(DexFile.java:431)
      at org.jf.baksmali.main.main(main.java:265)
  Caused by: java.lang.RuntimeException: regCount does not match the number of arguments of the method
      at org.jf.dexlib.Code.Format.Instruction3rc.checkItem(Instruction3rc.java:129)
      at org.jf.dexlib.Code.Format.Instruction3rc.&lt;init&gt;(Instruction3rc.java:79)
      at org.jf.dexlib.Code.Format.Instruction3rc.&lt;init&gt;(Instruction3rc.java:44)
      at org.jf.dexlib.Code.Format.Instruction3rc$Factory.makeInstruction(Instruction3rc.java:145)
      at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(InstructionIterator.java:84)
  ... 6 more
  Error occured at code address 0
  code_item @0x159a90
  </code></pre>
  
  <p>What am I missing or doing wrong?</p>
  
  <p>Appreciate in advance any help you can provide.</p>