Tutorial MOD Menu for il2cpp and native Android Games

Megatron444!

Rookie
Sep 17, 2021
3
2
3
Indonesia
@Mr Ikso Thank you Sir. after some fixes and look out in code , i finally have full working Mod Menu! Ready to play Thanks Alot:face47::face43:

View attachment 171754 View attachment 171756
0x61a8 = 25000
View attachment 171757

View attachment 171758
@Mr Ikso Thank you Sir. after some fixes and look out in code , i finally have full working Mod Menu! Ready to play Thanks Alot:face47::face43:

View attachment 171754 View attachment 171756
0x61a8 = 25000
View attachment 171757

View attachment 171758
hello Bro can I ask the application that you use to convert the patch memory
 

MORGAN666

Platinian
May 11, 2022
18
131
28
21
Hell
1/4/2020 2:28:03 PM
Compiling APK file...

/c "java -Xmx1024m -jar "C:\Users\kaust\Desktop\APK Easy Tool v1.56 Portable\Apktool\apktool_2.3.4.jar" b -f -o "C:\Users\kaust\Desktop\odyssey\Odyssey compiled.apk" "C:\Users\kaust\Desktop\odyssey\Odyssey" "

I: Using Apktool 2.3.4
I: Smaling smali folder into classes.dex...
Exception in thread "main" org.jf.util.ExceptionWithContext: Exception occurred while writing code_item for method Landroid/support/v4/util/LongSparseArray;->clone()Landroid/support/v4/util/LongSparseArray;
at org.jf.dexlib2.writer.DexWriter.writeDebugAndCodeItems(DexWriter.java:825)
at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:268)
at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:246)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:61)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:36)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:419)
at brut.androlib.Androlib.buildSources(Androlib.java:350)
at brut.androlib.Androlib.build(Androlib.java:302)
at brut.androlib.Androlib.build(Androlib.java:269)
at brut.apktool.Main.cmdBuild(Main.java:238)
at brut.apktool.Main.main(Main.java:76)
Caused by: org.jf.util.ExceptionWithContext: Error while writing instruction at code offset 0x12
at org.jf.dexlib2.writer.DexWriter.writeCodeItem(DexWriter.java:1098)
at org.jf.dexlib2.writer.DexWriter.writeDebugAndCodeItems(DexWriter.java:821)
... 10 more
Caused by: org.jf.util.ExceptionWithContext: Unsigned short value out of range: 65584
at org.jf.dexlib2.writer.DexDataWriter.writeUshort(DexDataWriter.java:116)
at org.jf.dexlib2.writer.InstructionWriter.write(InstructionWriter.java:348)
at org.jf.dexlib2.writer.DexWriter.writeCodeItem(DexWriter.java:1058)
... 11 more




------------------------------------------
unable to compile apk
can anyone please help?
i have same error
 

MORGAN666

Platinian
May 11, 2022
18
131
28
21
Hell
This is because you have too much crap in the smali folder. You need to delete some of their smali to add yours or the building of the dex will always error. NOTE: you can add some code to a entirely NEW dex file and trigger it from there.
help man pls 2 pep here have same error!!
 
Mar 12, 2023
2
2
1
22
INDIA
hey bro,
so I've made an floating menu project with just an login system there is no hacks no switchs nothing just an textview showing some information... when i add this to free fire apk the free fire crashes when launched or at login page.
how to solve this?
 

kienpro674

1/3 Games Approved
Jan 19, 2024
2
0
1
23
Tôi: Sử dụng Apktool 2.9.2
I: Kiểm tra xem nguồn có thay đổi không...
I: Gửi thư mục smali vào class.dex...
Ngoại lệ trong chuỗi "chính" com.android.tools.smali.util.ExceptionWithContext: Đã xảy ra ngoại lệ khi viết code_item cho phương thức Landroidx/collection/SparseArrayCompat;->clone()Landroidx/collection/SparseArrayCompat;
tại com.android.tools.smali.dexlib2.writer.DexWriter.writeDebugAndCodeItems(DexWriter.java:1119)
tại com.android.tools.smali.dexlib2.writer.DexWriter.writeTo(DexWriter.java:415)
tại com.android.tools.smali.dexlib2.writer.DexWriter.writeTo(DexWriter.java:370)
tại brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)
tại brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)
tại brut.androlib.ApkBuilder.buildSourcesSmali(ApkBuilder.java:211)
tại brut.androlib.ApkBuilder.buildSources(ApkBuilder.java:145)
tại brut.androlib.ApkBuilder.build(ApkBuilder.java:99)
tại brut.apktool.Main.cmdBuild(Main.java:296)
tại brut.apktool.Main.main(Main.java:95)
Nguyên nhân do: com.android.tools.smali.util.ExceptionWithContext: Lỗi khi viết hướng dẫn ở mã offset 0x8
tại com.android.tools.smali.dexlib2.writer.DexWriter.writeCodeItem(DexWriter.java:1392)
tại com.android.tools.smali.dexlib2.writer.DexWriter.writeDebugAndCodeItems(DexWriter.java:1115)
... 9 nữa
Nguyên nhân là do: com.android.tools.smali.util.ExceptionWithContext: Giá trị ngắn chưa được ký nằm ngoài phạm vi: 65673
tại com.android.tools.smali.dexlib2.writer.DexDataWriter.writeUshort(DexDataWriter.java:115)
tại com.android.tools.smali.dexlib2.writer.InstructionWriter.write(InstructionWriter.java:397)
tại com.android.tools.smali.dexlib2.writer.DexWriter.writeCodeItem(DexWriter.java:1352)
... 10 nữa
 
Tags
hack il2cpp mod menu unity