(bind-func xtm_model_mesh (lambda (model:XTMModel* idx:i32) (let ((num_meshes (tref model 5)) (meshes (tref model 6))) (if (< idx num_meshes) (pref-ptr meshes idx) null))))