VMPMiavmpmia.com
English
Login
One SDK for all engine releases

Mark important code with the VMMIA SDK

Add the SDK to your Android or iOS native project, mark a function or region, then upload the compiled SO/dylib and choose the discovered targets in the workbench.

The SDK only adds source markers. It does not harden code by itself; protection happens after you upload and generate a result on VMPMia.

The shortest integration

  1. Unzip and copy the folderCopy the entire vmmia folder beside your CMakeLists.txt.
  2. Attach it to your targetAdd these two lines after your existing add_library. Replace my_library with the real CMake target name.
add_subdirectory(vmmia)
vmmia_attach(my_library)

Protection targets: Android armeabi-v7a / arm64-v8a and iOS device arm64. Android x86/x86_64 and iOS Simulator compile with warning-only no-op markers for local debugging; do not upload those builds for protection.

  1. Mark code and build ReleaseInclude vmmia.h, add a unique marker, and compile the original unprotected SO/dylib.
  2. Upload, choose and generateUpload that library to VMPMia, choose the SDK targets found by the engine, generate the protected result, and test it in your app.
#include "vmmia.h"

VMMIA_NOINLINE int important(int value) {
    VBVirtualizeFunction("important");
    return value * 7 + 3;
}

SDK integration details

This guide comes directly from the shared SDK package and always matches the ZIP above.

Loading the guide…