What is this?
A special library intended to be loaded from libnb.so to patch native bridges in memory.
Installation
- Obtain a compiled libnbpatcher.so and libnb.so (see here) (see Build)
- Copy libnb.so and libnbpatcher.so to system/lib (for 32 bit) and system/lib64 (for 64 bit)
Build
- export or edit ANDROID_NDK_HOME in CMakeLists.txt to point to a folder containing the extracted Android NDK
cmake . -B build
cd build
, make
or ninja
- The compiled library should be located in build/src
Available build options:
COMPILE_ARCH: Available option x86 (for compiling 32 bit) and x86_64 (default, for compiling with 64 bit)
LOG_DEBUG
Example build option: cmake -B build -DCOMPILE_ARCH=x86_64