(Menu) Refactor menu_custom_bind_iterate_ functions