library.c
Box64 uses three flags—notwrapped, essential, and precise—to decide whether a library should be loaded via the host’s native loader (“wrapped”) or via its ELF loader (“emulated”).
In short, when precise == 1, Box64 will go straight to initEmulatedLib(). If initEmulatedLib() fails, Box64 will attempt initWrappedLib() before returning an error.
Similarly, when precise == 0, notwrapped == 0, and essential == 1, Box64 will first try initWrappedLib(), and will fall back to initEmulatedLib() if the wrapped loading fails.
if(!notwrapped && !precise)
initWrappedLib(lib, context);