Name of Game: Battlestation Harbinger
Cheat Type: Resources
Battlestation Classic uses the same encyrption algorithm and can by hacked by following the same method listed below.
I've been lurking the request thread for someone to come up with a way to hack Battlestation Harbinger for a while. Took me quite a while to figure this one out. Reverse engineering the Java component from this games PC-Release, the game stores most integer vaues as 2x encrypted values. Hacking it on android makes it very uncomfortable but not impossible. A small tutorial on how to:
Step 1: Navigate to https://jsfiddle.net/sfan85/4b6p77xw/36/ it's a small webbased tool i wrote to decrypt the values. (content from jsfiddle.net is "opensource" and you can see the encryption algorithm if you want to write something yourself.)
Step 2: Write down the following values somewhere: 87312 and 2863308842 it's the encrypted values of 90000 (more than you will ever have to spend) we will need those values for later use. Do not tab out on your Phone, it will reset the addresses when you re-tab in.
Step 3: Get the current encrypted value from the tool.
Step 4: Search for the 2nd Encrypted value (usually only yields one result)
Step 5: Tap and hold your found value and select "Go to the address XXXXXXXX"
Step 6: Scroll up slightly (-4 Bytes) and confirm the values (Remember not to tab out)
Step 7: Replace the values with the values from Step 2, this will give you 90000.
Step 8: Perform some ingame-action (repair, sell, buy) to update the display value and you're all set!
Enjoy. P.s. this works for most other values too (even stuff like shields, though i never found it necessary to do it for shields)
In order to gain XP and unlock all Ships you have to start a new game, pick a crappy ship. Alter your Scrap value to 90k and don't add any additional weapons on your ship. Find enemies so they can kill you. When the game ends, you will gain a massive amount of xp because of your current scrap value.
Attachment: Imgur Album
Quick modding guide for Brave Frontier.
Ok lets start!
First decompile/unpack the Brave Frontier APK by using Android Tool.
Once it is done launch up IDA Pro, Then select new and close down the popup window that comes next "if it comes up a window".
Drag and drop libgame.so into the IDA window the libgame.so are located in lib\armeabi folder.
Make sure filetype is set to ELF for ARM and then press OK.
IDA will now disassemble the .so file and depending on your computers speed it will take quite some time for it to complete. Once done you should have 2 forms open Functions and the ASM code window.
Lets start with Karma Hack.
In function windows search for function GetKarma and click it to make it show in the ASM window.
Now you should see this,
BL _ZN16BattleRewardList14getRewardPointEv ; BattleRewardList::getRewardPoint(void)
This is the part we want to change.
select that part with the mouse and then go to hex view there you should see following hex values selected FF F7 9F FF
Those 4 bytes are the ones we are going to edit.
Now open HxD and open libgame.so into it and then search hex value
FF F7 9F FF 00 F0 E9 FB 08 BD 00 00 70 B5 17 4C
You should come to Offset 0x311A38 and see the FF F7 9F FF there.
Now we want to make the original instruction into a MOVS R0, 0xFF00.
To do that we add in the following values FF 20 00 02 "the FF is a value you can change to anything you like. FF is max and will make you always get 65k+ Karma" I dont recomend that high since the karma will pile up really fast and if you have alot of karma on your account it will most likely get banned so go for a fairly low number instead, you will have to test around with it.
Next function you need to edit is the getSendKarma (it is located a couple of functions above the getKarma function)
you will see the instruction
There aswell. Just edit it the same way you edited the getKarma function.
Ok now the Karma hack is completed, next will be Zel hack.
Go to function getZel you see same instruction there as in the karma one. Do same thing as you did in karma hack.
Next go to getSendZel and edit that instruction aswell. Remember dont do to high values because it will be obvious that you are hacking and you will get banned.
This method of editing will work on alot other functions and its just to test around and explore the files functions.
(Sometimes you will have to use different instructions like MUL to mutiply or ADD to add a value.)
Here is a good page with Hex code for different ARM opcodes LINK
If you got any questions then you can contact me on skype.
I will answer when i got time and try help you with your questions as good as i can.