you could just call `demangle` here, and avoid the dependency on emscripten_demangle (although keeping it as a C function is nice for C code).