// // CustomizeObjectLayer::highlightSelected from 0x1400a9ee0 to 0x1400aa00a (298 bytes) // // 8 xrefs: // > CustomizeObjectLayer::colorSetupClosed @ 0x1400a840b // > CustomizeObjectLayer::onNextColorChannel @ 0x1400a8f83 // > CustomizeObjectLayer::toggleVisible @ 0x1400a93ae // > CustomizeObjectLayer::updateCurrentSelection @ 0x1400a95a1 // > CustomizeObjectLayer::onSelectColor @ 0x1400a9cf2 // > @ 0x14066ac14 // > @ 0x14066ac48 // > @ 0x1406c78cc // // 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 CustomizeObjectLayer::highlightSelected(CustomizeObjectLayer *a1, ButtonSprite *a2) { unsigned int i; // edi ButtonSprite *v5; // rbx int v6; // eax const char *v7; // rdx bool v8; // bl for ( i = 0; i < cocos2d::CCArray::count(a1->m_colorButtons); ++i ) { v5 = (ButtonSprite *)cocos2d::CCArray::objectAtIndex(a1->m_colorButtons, i); v6 = v5->getTag(v5); v7 = "GJ_button_05.png"; if ( v6 != 1008 ) v7 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v5, v7); } v8 = false; if ( a2 ) { ButtonSprite::updateBGImage(a2, "GJ_button_02.png"); if ( a2->getTag(a2) == 1008 ) v8 = true; } a1->m_arrowDown->setVisible(a1->m_arrowDown, v8); a1->m_arrowUp->setVisible(a1->m_arrowUp, v8); a1->m_customColorInput->setTouchEnabled(a1->m_customColorInput, v8); a1->m_customColorInput->setVisible(a1->m_customColorInput, v8); a1->m_customColorInputBG->setVisible(a1->m_customColorInputBG, v8); }