Integrable structures for a generalized Monge-Ampère equation