Reuse cocos2d-iphone code

Hey!

I’m new to cocos2d. I have the code (written by someone else) to a game which uses cocos2d-iphone. I want to port the game to android. I understand you can use cocos2d-x to write multi platform games, but the code needs to be written in c++ (or JS/LUA), right? So my question: Can I somehow use the existing code to port the game to android without having to rewrite everything?

Thanks!
Max