// // GJUINode::toggleHighlight from 0x5c6a60 to 0x5c6b08 (168 bytes) // // 9 xrefs: // > GJUINode::resetState @ 0x5c6b30 // > GJUINode::resetState @ 0x5c6b48 // > GJUINode::touchEnded @ 0x5c71c8 // > GJUINode::touchEnded @ 0x5c71f8 // > GJUINode::highlightButton @ 0x5c7260 // > GJUINode::highlightButton @ 0x5c7284 // > UILayer::processUINodeTouch @ 0x5c748c // > UILayer::processUINodeTouch @ 0x5c74e8 // > @ 0x506d0 // // 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::toggleHighlight(GJUINode *a1, int a2, bool a3) { cocos2d::CCSprite *m_firstSprite; // x0 void (*setColor)(void); // x3 cocos2d::CCSprite *v5; // x3 cocos2d::CCSprite *m_secondSprite; // x0 if ( a1->m_modeB ) { m_firstSprite = a1->m_firstSprite; if ( !m_firstSprite ) return; setColor = (void (*)(void))m_firstSprite->setColor; goto LABEL_4; } v5 = a1->m_firstSprite; m_secondSprite = a1->m_secondSprite; if ( a2 != 3 ) m_secondSprite = v5; if ( m_secondSprite ) { setColor = (void (*)(void))m_secondSprite->setColor; LABEL_4: setColor(); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source