//
// GJUINode::toggleModeB from 0x30dc02 to 0x30dc40 (62 bytes)
//
// 3 xrefs:
// > GJUINode::init @ 0x30ddac
// > GJUINode::loadFromConfig @ 0x30def2
// > UIOptionsLayer::valueDidChange @ 0x4b2eba
//
// 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 GJUINode::toggleModeB(GJUINode *a1, bool a2)
{
if ( a1->m_secondSprite )
{
a1->m_modeB = a2;
a1->m_firstSprite->setVisible(a1->m_firstSprite, !a2);
a1->m_secondSprite->setVisible(a1->m_secondSprite, !a1->m_modeB);
GJUINode::updateButtonFrames(a1);
}
}