This is the AMP version of this page.
If you want to load the real page instead, click this text.

Help! merge 2 mod ==> 1 mod

You would move the lib .so files into a single game.
And then you'd find the smali `onCreate` method from one mod, and paste what it's changed over to the other mod. So both of the mods' changes are in the same `onCreate`.

They may have also changed some other parts of the smali or of the other files that you need to copy over.

Although, this isn't guaranteed to work as they could make each other crash.
 
I got curious and tried this, and it actually worked

Used this template for testing: Substrate Hooking Template for Android
and built two .so libs: libhook1.so and libhook2.so

In this template it loads the lib using a function in it's own smali file, and that smali get's called in OnCreate.

So just edited the function to load both libs.
Both libs had one hook using using Substrate MSHookFunction and didn't seem to cause problems. Performance is a another thing, most likely worse.

This is probably harder to replicate if the apks have used two different templates, like LGL and this one. Or different hooking softwares. But seems like combining hacks could be possible
 
저는 실제로 이렇게 해결했습니다. 감사합니다.