// Author: DosX
// E-Mail: collab@kay-software.ru
// GitHub: https://github.com/DosX-dev
// Telegram: @DosX_dev

init("library", "SandHook");

function detect(bShowType, bShowVersion, bShowOptions) {
    bDetected =
        APK.isArchiveRecordPresent("lib/arm64-v8a/libsandhook-native.so") ||
        APK.isArchiveRecordPresent("lib/arm64-v8a/libsandhook.so") ||
        APK.isArchiveRecordPresent("lib/armeabi-v7a/libsandhook-native.so") ||
        APK.isArchiveRecordPresent("lib/armeabi-v7a/libsandhook.so");

    return result(bShowType, bShowVersion, bShowOptions);
}