Closed listerily closed 3 years ago
Don't use substrate. Use https://github.com/iqiyi/xHook
It work for Minecraft 1.16 arm 32 and 64...
It work for Minecraft 1.16 arm 32 and 64... I'll have a try.
It work for Minecraft 1.16 arm 32 and 64... I'll have a try.
It seems like PLT hook is designed for hooking cross-library calls???
use xHook it works much better than Substrate and work with ARM64. And has its own debug in LogCat usage example: void (onDimension)(void); void onDimension_hook(void* a){
return normalTick(a); } //Load lib xhook_register("./libminecraftpe\.so$","_ZN13MinecraftGame18onDimensionChangedEv",(void) &onDimension_hook, (void**) &onDimension); xhook_refresh(1); xhook_enable_debug(1); //Debug to logcat with tag xhook
Due to substrate doesn't support arm64,NMods does not support arm64 temporarily. But ModdedBE could still launch game.