// // CustomizeObjectLayer::highlightSelected from 0x1001f8c60 to 0x1001f8d84 (292 bytes) // // 4 xrefs: // > CustomizeObjectLayer::onSelectColor @ 0x1001f7a4f // > CustomizeObjectLayer::onNextColorChannel @ 0x1001f81ce // > CustomizeObjectLayer::updateCurrentSelection @ 0x1001f84fd // > CustomizeObjectLayer::colorSetupClosed @ 0x1001f8a5e // // 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) { unsigned int v2; // r15d ButtonSprite *v3; // r12 const char *v4; // rsi bool v5; // al _BOOL4 v6; // r14d if ( (unsigned int)sub_100720070(a1->m_colorButtons) ) { v2 = 0; do { v3 = (ButtonSprite *)sub_1007200C0(a1->m_colorButtons, v2); v4 = "GJ_button_04.png"; if ( ((unsigned int (__fastcall *)(ButtonSprite *))v3->getTag)(v3) == 1008 ) v4 = "GJ_button_05.png"; ButtonSprite::updateBGImage(v3, v4); ++v2; } while ( v2 < (unsigned int)sub_100720070(a1->m_colorButtons) ); } if ( a2 ) { ButtonSprite::updateBGImage(a2, "GJ_button_02.png"); v5 = ((unsigned int (__fastcall *)(ButtonSprite *))a2->getTag)(a2) == 1008; } else { v5 = 0; } v6 = v5; ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_arrowDown->setVisible)(a1->m_arrowDown, v5); ((void (__fastcall *)(CCMenuItemSpriteExtra *, _BOOL4))a1->m_arrowUp->setVisible)(a1->m_arrowUp, v6); ((void (__fastcall *)(CCTextInputNode *, _BOOL4))a1->m_customColorInput->setTouchEnabled)(a1->m_customColorInput, v6); ((void (__fastcall *)(CCTextInputNode *, _BOOL4))a1->m_customColorInput->setVisible)(a1->m_customColorInput, v6); ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, _BOOL4))a1->m_customColorInputBG->setVisible)( a1->m_customColorInputBG, v6); }