// // CustomizeObjectLayer::getButtonByTag from 0x8411b8 to 0x841238 (128 bytes) // // 4 xrefs: // > CustomizeObjectLayer::colorSetupClosed @ 0x841868 // > CustomizeObjectLayer::onNextColorChannel @ 0x841900 // > CustomizeObjectLayer::updateCurrentSelection @ 0x841978 // > @ 0x82230 // // 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 // ButtonSprite *CustomizeObjectLayer::getButtonByTag(CustomizeObjectLayer *a1, int a2) { unsigned int v4; // w19 ButtonSprite *v5; // x20 bool v6; // cf unsigned int v7; // w1 v4 = 0; do { v6 = v4 >= (unsigned int)cocos2d::CCArray::count(a1->m_colorButtons); v7 = v4++; if ( v6 ) return nullptr; v5 = (ButtonSprite *)cocos2d::CCArray::objectAtIndex(a1->m_colorButtons, v7); } while ( v5->getTag(v5) != a2 ); return v5; }