// // GJColorSetupLayer::updateSpriteColors from 0x498050 to 0x4980f4 (164 bytes) // // 3 xrefs: // > GJColorSetupLayer::colorSelectClosed @ 0x4980f4 // > GJColorSetupLayer::showPage @ 0x49813e // > GJColorSetupLayer::init @ 0x498496 // // 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) { int v2; // r8 int v3; // r4 ColorChannelSprite *v4; // r5 cocos2d::CCLabelBMFont *v5; // r7 bool v6; // cc void (*setScale)(void); // r3 v2 = a1->m_colorsPerPage * a1->m_page; v3 = v2; while ( (unsigned int)(v3 - v2) < cocos2d::CCArray::count(a1->m_colorSprites) ) { v4 = (ColorChannelSprite *)cocos2d::CCArray::objectAtIndex(a1->m_colorSprites, v3 - v2); v5 = (cocos2d::CCLabelBMFont *)cocos2d::CCArray::objectAtIndex(a1->m_colorLabels, v3 - v2); v6 = v3++ <= 998; setScale = (void (*)(void))v4->getParent(v4)->__vftable[1].setScale; setScale(); if ( v6 ) { v4->setVisible(v4, 1); v5->setVisible(v5, 1); GJColorSetupLayer::updateSpriteColor(a1, v4, v5, v3); } else { v4->setVisible(v4, 0); v5->setVisible(v5, 0); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source