//
// GJUINode::toggleModeB from 0x10004ad04 to 0x10004ad64 (96 bytes)
//
// 3 xrefs:
// > GJUINode::loadFromConfig @ 0x100049940
// > GJUINode::init @ 0x10004ab50
// > UIOptionsLayer::valueDidChange @ 0x1002e4324
//
// 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 __fastcall GJUINode::toggleModeB(GJUINode *a1, bool a2)
{
if ( a1->m_secondSprite )
{
a1->m_modeB = a2;
((void (__fastcall *)(cocos2d::CCSprite *, bool))a1->m_firstSprite->setVisible)(a1->m_firstSprite, !a2);
((void (__fastcall *)(cocos2d::CCSprite *, bool))a1->m_secondSprite->setVisible)(a1->m_secondSprite, !a1->m_modeB);
GJUINode::updateButtonFrames(a1);
}
}