maoabc/nmmp ? reverse-engineered prompt

Reverse engineered prompt

Build me a tool that protects Android apps by moving dex bytecode into a small virtual machine, so the code is much harder to reverse engineer.

I want to be able to point it at an APK, and ideally also an AAB or AAR, then have it generate a new protected build I can sign and install. It should take care of the heavy lifting for me, like converting the dex data into native code friendly structures, rewriting the execution flow, and making the opcodes less obvious. If there are simple rules for choosing which classes or methods get protected, include that too, with a sensible default that protects everything except obvious startup or constructor stuff.

Also include the runtime side that actually interprets the bytecode on Android, plus a simple way to test the virtual machine with example instructions. If you need to check current Android build tooling details online, go ahead and do that.