version_strExpected Dear ImGui version string, checked against the linked native library.
sz_ioExpected native sizeof(ImGuiIO) in bytes, not a JS object size.
sz_styleExpected native sizeof(ImGuiStyle) in bytes, not a JS object size.
sz_vec2Expected native sizeof(ImVec2) in bytes, not a JS object size.
sz_vec4Expected native sizeof(ImVec4) in bytes, not a JS object size.
sz_drawvertExpected native sizeof(ImDrawVert) in bytes, not a JS object size.
sz_drawidxExpected native sizeof(ImDrawIdx) in bytes, not a JS object size.
True when the version and native structure sizes agree; mismatches also trigger native assertions in assertion-enabled builds.
Check the compiled version and data-structure layout.