// // SetupGradientPopup::updateZLayerButtons from 0x9fa0fc to 0x9fa1a8 (172 bytes) // // 4 xrefs: // > SetupGradientPopup::onZLayer @ 0x9fa1e4 // > SetupGradientPopup::onZLayer @ 0x9fa224 // > SetupGradientPopup::init @ 0x9fb05c // > @ 0x6c6f0 // // 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 SetupGradientPopup::updateZLayerButtons(SetupGradientPopup *a1) { unsigned int v2; // w19 int v3; // w0 unsigned int v4; // w1 ButtonSprite *v5; // x20 unsigned int v6; // w0 v2 = 0; v3 = cocos2d::CCArray::count(a1->m_layerButtons); v4 = 0; if ( v3 ) { do { v5 = (ButtonSprite *)cocos2d::CCArray::objectAtIndex(a1->m_layerButtons, v4); ++v2; if ( v5->getTag(v5) == a1->m_blendingLayer ) ButtonSprite::updateBGImage(v5, "GJ_button_02.png"); else ButtonSprite::updateBGImage(v5, "GJ_button_04.png"); v6 = cocos2d::CCArray::count(a1->m_layerButtons); v4 = v2; } while ( v2 < v6 ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source