Discussion [Newbie ~ Sorry] Xigncode - SAOIF

Damdou

Rookie
Hello everyone, i wanted to share with you some stuff that i've started doing a couple of days ago, i have actually no idea how to explain so i'll just paste here what i've done and if you have some time please feel free to enlighten me :) you're more than welcome ! i used windows & LdPlayer9

  • Create a new folder:

    mkdir SAOIF


  • Place the apk as well as apksigner.jar, apktool.jar, baksmali.jar, smali.jar inside

  • Extract classes.dex from the apk using 7z:

    7z x sao.apk classes.dex
  • Decompile classes.dex into Smali classes:

    java -jar baksmali.jar d classes.dex
  • Modify the file ./smali/com/asobimo/AsobimoActivity/AsobimoUnityPlayerNativeActivity.smali:6:


    WARNING: sometimes it's ".locals" and other times ".registers", keep the original one!​


    .method public static IsEnableXIGNCODE()Z
    .registers 3


    const/4 v0, 0x0


    return v0
  • Recompile the ./out folder of the classes into classes.dex:

    java -jar smali.jar a out/
  • Inject the classes.dex file into the apk:
    1. Right-click on classes.dex
    2. 7-Zip
    3. Add to archive...
    4. Filter on all files
    5. Select the apk in the archive selection
    6. Select Zip in the archive format
    7. Click OK

  • Zipalign the apk

    zipalign -v 4 sao.apk sao_aligned.apk


    Install with LuckyPatcher​

The game crash just after you click on "Link Start" after you select a server, if i attempt something else the game crash at the Flying Drake loading screen earlier.

Any idea what should i do from here ? i got there by using grep -rn "xigncode" . in the smali folder, then tryed this bypass :/ of course i didn't expected it to work but it's a start...
 
Thanks for answering me, actually i'm willing to learn i just don't know what to explore, i did use Ghidra, IL2CPPDumper & Jadx even created cave code and recompiled, but still the bypass is an issue so feel free to show me the way even if it's a dead end it's always worth it
 
Back
Top Bottom