// // CustomizeObjectLayer::highlightSelected from 0x10005060c to 0x100050728 (284 bytes) // // 4 xrefs: // > CustomizeObjectLayer::onSelectColor @ 0x10004fab0 // > CustomizeObjectLayer::onNextColorChannel @ 0x10004ff94 // > CustomizeObjectLayer::updateCurrentSelection @ 0x1000501b8 // > CustomizeObjectLayer::colorSetupClosed @ 0x1000504d8 // // 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 CustomizeObjectLayer::highlightSelected(CustomizeObjectLayer *a1, ButtonSprite *a2) { __int64 v4; // x21 ButtonSprite *v5; // x22 const char *v6; // x1 if ( (unsigned int)sub_10024A36C(a1->m_colorButtons) ) { v4 = 0; do { v5 = (ButtonSprite *)sub_10024A388(a1->m_colorButtons, v4); if ( ((unsigned int (__fastcall *)(ButtonSprite *))v5->getTag)(v5) == 1008 ) v6 = "GJ_button_05.png"; else v6 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v5, v6); v4 = (unsigned int)(v4 + 1); } while ( (unsigned int)v4 < (unsigned int)sub_10024A36C(a1->m_colorButtons) ); } if ( a2 ) { ButtonSprite::updateBGImage(a2, "GJ_button_02.png"); a2 = (ButtonSprite *)(((unsigned int (__fastcall *)(ButtonSprite *))a2->getTag)(a2) == 1008); } ((void (__fastcall *)(CCMenuItemSpriteExtra *, ButtonSprite *))a1->m_arrowDown->setVisible)(a1->m_arrowDown, a2); ((void (__fastcall *)(CCMenuItemSpriteExtra *, ButtonSprite *))a1->m_arrowUp->setVisible)(a1->m_arrowUp, a2); ((void (__fastcall *)(CCTextInputNode *, ButtonSprite *))a1->m_customColorInput->setTouchEnabled)( a1->m_customColorInput, a2); ((void (__fastcall *)(CCTextInputNode *, ButtonSprite *))a1->m_customColorInput->setVisible)( a1->m_customColorInput, a2); ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, ButtonSprite *))a1->m_customColorInputBG->setVisible)( a1->m_customColorInputBG, a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source