title: Is it possible to edit and recompile an iOS Binary?
body: <p>I have an application and posted to Cydia recently. It has been cracked by someone else and posted it in torrent sites. I have a binary checksum verification mechanism inside and they were able to create a new checksum file based on the changes they have made to the binary. They have edited two functions and decompiled it and posted it to torrents.</p>
  <p>I saw that it's possible to see the actual implementation of functions and classes. But in order to edit the functions they have to find the address of that function and edit it via HEX EDITOR. I don’t want to make it &quot;unhackable&quot;, but I really want to find out how they hack.</p>
  <p>How can I edit a function in an iOS binary and re-compile it? For example I have a following method in one of my classes.</p>
  <pre><code>- (id) getSomething {
  
     return @&quot;Something&quot;;
  }
  </code></pre>
  <p>I want to edit the return value of this function. Is that possible?</p>