// // CustomizeObjectLayer::highlightSelected from 0x461f04 to 0x461fb2 (174 bytes) // // 4 xrefs: // > CustomizeObjectLayer::onSelectColor @ 0x461fee // > CustomizeObjectLayer::colorSetupClosed @ 0x46204a // > CustomizeObjectLayer::onNextColorChannel @ 0x4620b8 // > CustomizeObjectLayer::updateCurrentSelection @ 0x46210e // // 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 v4; // r6 ButtonSprite *v5; // r0 ButtonSprite *v6; // r7 const char *v7; // r1 v4 = 0; while ( v4 < cocos2d::CCArray::count(a1->m_colorButtons) ) { v5 = (ButtonSprite *)cocos2d::CCArray::objectAtIndex(a1->m_colorButtons, v4++); v6 = v5; if ( v5->getTag(v5) == 1008 ) v7 = "GJ_button_05.png"; else v7 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v6, v7); } if ( a2 ) { ButtonSprite::updateBGImage(a2, "GJ_button_02.png"); a2 = (ButtonSprite *)(a2->getTag(a2) == 1008); } a1->m_arrowDown->setVisible(a1->m_arrowDown, (bool)a2); a1->m_arrowUp->setVisible(a1->m_arrowUp, (bool)a2); a1->m_customColorInput->setTouchEnabled(a1->m_customColorInput, (bool)a2); a1->m_customColorInput->setVisible(a1->m_customColorInput, (bool)a2); a1->m_customColorInputBG->setVisible(a1->m_customColorInputBG, (bool)a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source