//
// GJColorSetupLayer::showPage from 0x140256cb0 to 0x140256d11 (97 bytes)
//
// 2 xrefs:
// > GJColorSetupLayer::onPage @ 0x140256bc8
// > ??> @ 0x1406cf9a8
//
// 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)
{
int v3; // ebx
_BOOL8 v4; // rdx
v3 = a2;
LOBYTE(a2) = a2 != 0;
a1->m_prevButton->setVisible(a1->m_prevButton, a2);
LOBYTE(v4) = v3 != a1->m_totalPages - 1;
a1->m_nextButton->setVisible(a1->m_nextButton, v4);
a1->m_settingsObject->m_colorPage = v3;
GJColorSetupLayer::updateSpriteColors(a1);
}