// // GJColorSetupLayer::updateSpriteColors from 0x8a1a64 to 0x8a1b90 (300 bytes) // // 4 xrefs: // > GJColorSetupLayer::colorSelectClosed @ 0x8a1b90 // > GJColorSetupLayer::showPage @ 0x8a1c04 // > GJColorSetupLayer::init @ 0x8a206c // > @ 0x941e8 // // 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 GJColorSetupLayer::updateSpriteColors(GJColorSetupLayer *a1) { unsigned int v2; // w19 int v3; // w23 int v4; // w0 unsigned int v5; // w1 ColorChannelSprite *v6; // x20 cocos2d::CCLabelBMFont *v7; // x22 cocos2d::CCNode_vtbl *v8; // x2 int v9; // w3 unsigned int v10; // w0 v2 = 0; v3 = a1->m_page * a1->m_colorsPerPage; v4 = cocos2d::CCArray::count(a1->m_colorSprites); v5 = 0; if ( v4 ) { do { v6 = (ColorChannelSprite *)cocos2d::CCArray::objectAtIndex(a1->m_colorSprites, v5); v7 = (cocos2d::CCLabelBMFont *)cocos2d::CCArray::objectAtIndex(a1->m_colorLabels, v2); v8 = v6->getParent(v6)->__vftable; if ( (int)(v2 + v3) > 998 ) { ++v2; ((void (*)(void))v8[1].setScale)(); v6->setVisible(v6, 0); v7->setVisible(v7, 0); } else { ((void (*)(void))v8[1].setScale)(); v6->setVisible(v6, 1); v7->setVisible(v7, 1); v9 = v2 + v3 + 1; ++v2; GJColorSetupLayer::updateSpriteColor(a1, v6, v7, v9); } v10 = cocos2d::CCArray::count(a1->m_colorSprites); v5 = v2; } while ( v2 < v10 ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source