// // SetGroupIDLayer::updateZLayerButtons from 0x50a064 to 0x50a0b0 (76 bytes) // // 3 xrefs: // > SetGroupIDLayer::onZLayer @ 0x50a112 // > SetGroupIDLayer::onPaste @ 0x50a154 // > SetGroupIDLayer::init @ 0x50b0d4 // // 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 SetGroupIDLayer::updateZLayerButtons(SetGroupIDLayer *a1) { unsigned int v2; // r4 ButtonSprite *v3; // r0 ZLayer m_zLayerValue; // r7 ButtonSprite *v5; // r6 const char *v6; // r1 v2 = 0; while ( v2 < cocos2d::CCArray::count(a1->m_zLayerButtons) ) { v3 = (ButtonSprite *)cocos2d::CCArray::objectAtIndex(a1->m_zLayerButtons, v2); m_zLayerValue = a1->m_zLayerValue; ++v2; v5 = v3; if ( m_zLayerValue == v3->getTag(v3) ) v6 = "GJ_button_02.png"; else v6 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v5, v6); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source