// // MenuGameLayer::updateColor from 0x140331b50 to 0x140331c9e (334 bytes) // // 3 xrefs: // > MenuGameLayer::init @ 0x140331aa6 // > MenuGameLayer::init @ 0x140331a90 // > @ 0x1406d506c // // 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 v2; // xmm3_4 cocos2d::CCSprite *m_backgroundSprite; // rcx struct cocos2d::CCTintTo *v5; // rax cocos2d::ccColor3B *v6; // r8 GJGroundLayer *m_groundLayer; // rcx float v8; // xmm6_4 struct cocos2d::CCTintTo *v9; // rax cocos2d::ccColor3B *v10; // r8 cocos2d::CCSprite *m_ground2Sprite; // rcx struct cocos2d::CCTintTo *v12; // rax cocos2d::ccColor3B *v13; // r8 float v14; // [rsp+20h] [rbp-18h] float v15; // [rsp+20h] [rbp-18h] float v16; // [rsp+20h] [rbp-18h] unsigned __int8 v17; // [rsp+40h] [rbp+8h] BYREF unsigned __int8 v18; // [rsp+41h] [rbp+9h] unsigned __int8 v19; // [rsp+42h] [rbp+Ah] MenuGameLayer::getBGColor((cocos2d::ccColor3B *)a1, (MenuGameLayer *)&v17, a1->m_initCount); m_backgroundSprite = a1->m_backgroundSprite; ++a1->m_initCount; cocos2d::CCNode::stopAllActions(m_backgroundSprite); v5 = cocos2d::CCTintTo::create(4.0, v17, v18, v19); cocos2d::CCNode::runAction((CCLightFlash *)a1->m_backgroundSprite, (cocos2d::CCPoint)v5, v6, v2, v14); m_groundLayer = a1->m_groundLayer; if ( m_groundLayer->m_ground2Sprite ) v8 = 0.60000002; else v8 = 0.80000001; cocos2d::CCNode::stopAllActions(m_groundLayer->m_ground1Sprite); v9 = cocos2d::CCTintTo::create( 4.0, (int)(float)((float)v17 * v8), (int)(float)((float)v18 * v8), (int)(float)((float)v19 * v8)); cocos2d::CCNode::runAction((CCLightFlash *)a1->m_groundLayer->m_ground1Sprite, (cocos2d::CCPoint)v9, v10, v2, v15); m_ground2Sprite = a1->m_groundLayer->m_ground2Sprite; if ( m_ground2Sprite ) { cocos2d::CCNode::stopAllActions(m_ground2Sprite); v12 = cocos2d::CCTintTo::create(4.0, v17, v18, v19); cocos2d::CCNode::runAction((CCLightFlash *)a1->m_groundLayer->m_ground2Sprite, (cocos2d::CCPoint)v12, v13, v2, v16); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source