Hello are you team modder. I just want request to mod Magia Record 1.4.1(Enemy dont attack)
Program Requirement
IDA Pro 7.0
HxD
APK Easy Tool
File Link:
libmadomagi_native.so
Here the guide:
Please open the file using IDA Pro 7.0
1. Install IDA Pro as well as HxD, how this works is you will look for the parts to edit in IDA Pro and edit the file using HxD. This will be explained later on
2. Right-click your libmadomagi_native.so and open with “The Interactive Disassembler” A.K.A IDA Pro.
3. You will come across a “Load a new file” window, this is for IDA Pro to set up the program for you to do your viewing and editing.
4. Ensure “ELF for ARM (Shared object) [elf.Idw]” option is highlighted as well as the “Load resources” checkbox at the Options panel.
5. Click OK and wait for IDA Pro to load! This will take quite some time as the file is generally quite big
6. If you see this “ARM AND THUMB MODE SWITCH INSTRUCTIONS” window pop up, click okay and let IDA Pro continue its loading.
7. You can track the progress at the top where there is a coloured bar and arrows pointing to where in the file is being accessed, it is quite obvious when it is done, here is a screenshot of when the loading is completed.
8. Find QbUnit::isEnabledAction and press X. Click _ZN6QbUnit15isEnabled and press x to see the list of xref.
9. Just check every single xrefs.
If you don't see any BL & CMP, and instead, you see BL & CBZ (CBZ = Branch if ZERO), change BL to constant value (MOV R0, #1 or #0)
In this case, you can check QbAiEnemy first and set isenabledaction to MOV R0, #0 which means; enemy cannot attack