// // MenuGameLayer::updateColor from 0x3a9530 to 0x3a9664 (308 bytes) // // 1 xrefs: // > MenuGameLayer::init @ 0x3aa4b2 // // 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 MenuGameLayer::updateColor(MenuGameLayer *a1, float a2) { float v3; // s16 int v4; // r0 cocos2d::CCTintTo *v5; // r0 GJGroundLayer *m_groundLayer; // r3 cocos2d::CCTintTo *v7; // r0 cocos2d::CCSprite *m_ground2Sprite; // r0 cocos2d::CCTintTo *v9; // r1 unsigned __int8 v10[8]; // [sp+Ch] [bp-8h] unsigned __int8 v11; // [sp+Eh] [bp-6h] v3 = 0.8; *(cocos2d::ccColor3B *)&v4 = MenuGameLayer::getBGColor(a1, a1->m_initCount); *(_WORD *)v10 = v4; v11 = BYTE2(v4); ++a1->m_initCount; cocos2d::CCNode::stopAllActions(a1->m_backgroundSprite); v5 = cocos2d::CCTintTo::create(4.0, v10[0], v10[1], v11); cocos2d::CCNode::runAction(a1->m_backgroundSprite, v5); m_groundLayer = a1->m_groundLayer; if ( m_groundLayer->m_ground2Sprite ) v3 = 0.6; cocos2d::CCNode::stopAllActions(m_groundLayer->m_ground1Sprite); v7 = cocos2d::CCTintTo::create( 4.0, (unsigned int)(float)((float)v10[0] * v3), (unsigned int)(float)((float)v10[1] * v3), (unsigned int)(float)((float)v11 * v3)); cocos2d::CCNode::runAction(a1->m_groundLayer->m_ground1Sprite, v7); m_ground2Sprite = a1->m_groundLayer->m_ground2Sprite; if ( m_ground2Sprite ) { cocos2d::CCNode::stopAllActions(m_ground2Sprite); v9 = cocos2d::CCTintTo::create( 4.0, (unsigned int)(float)v10[0], (unsigned int)(float)v10[1], (unsigned int)(float)v11); cocos2d::CCNode::runAction(a1->m_groundLayer->m_ground2Sprite, v9); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source