//
// GJColorSetupLayer::showPage from 0x498100 to 0x498142 (66 bytes)
//
// 2 xrefs:
// > GJColorSetupLayer::init @ 0x498662
// > GJColorSetupLayer::onPage @ 0x4987da
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GJColorSetupLayer::showPage(GJColorSetupLayer *a1, int a2)
{
a1->m_prevButton->setVisible(a1->m_prevButton, a2 != 0);
a1->m_nextButton->setVisible(a1->m_nextButton, a2 != a1->m_totalPages - 1);
a1->m_settingsObject->m_colorPage = a2;
GJColorSetupLayer::updateSpriteColors(a1);
}