エンディングであれば
endingudeareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of エンディング

1. If the ending; When the ending

Ba Conditional