Runtime function 31 of the definy compiler (exported as closure_new): closure_new(index, captured) -> value: a function value of the function table index and the captured variables. Local variable declarations and instructions, without the byte length (wasm.code-entry adds it)