// // MenuGameLayer::updateColor from 0x4922f4 to 0x492428 (308 bytes) // // 1 xrefs: // > MenuGameLayer::init @ 0x4932b2 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:49:38 +0000 // cocos2d::CCNode *__fastcall MenuGameLayer::updateColor(MenuGameLayer *this, float a2) { float v3; // s16 int BGColor; // r0 cocos2d::CCAction *v5; // r0 int v6; // r3 cocos2d::CCAction *v7; // r0 cocos2d::CCNode *result; // r0 cocos2d::CCAction *v9; // r1 unsigned __int8 v10; // [sp+0h] [bp-14h] unsigned __int8 v11; // [sp+0h] [bp-14h] unsigned __int8 v12; // [sp+0h] [bp-14h] unsigned __int8 v13[8]; // [sp+Ch] [bp-8h] unsigned __int8 v14; // [sp+Eh] [bp-6h] v3 = 0.8; BGColor = MenuGameLayer::getBGColor(this, *((_DWORD *)this + 82)); *(_WORD *)v13 = BGColor; v14 = BYTE2(BGColor); ++*((_DWORD *)this + 82); cocos2d::CCNode::stopAllActions(*((cocos2d::CCNode **)this + 86)); v5 = (cocos2d::CCAction *)cocos2d::CCTintTo::create( (cocos2d::CCTintTo *)0x40800000, COERCE_FLOAT(v13[0]), v13[1], v14, v10); cocos2d::CCNode::runAction(*((cocos2d::CCNode **)this + 86), v5); v6 = *((_DWORD *)this + 87); if ( *(_DWORD *)(v6 + 320) ) v3 = 0.6; cocos2d::CCNode::stopAllActions(*(cocos2d::CCNode **)(v6 + 316)); v7 = (cocos2d::CCAction *)cocos2d::CCTintTo::create( (cocos2d::CCTintTo *)0x40800000, COERCE_FLOAT((unsigned __int8)(unsigned int)(float)((float)v13[0] * v3)), (unsigned int)(float)((float)v13[1] * v3), (unsigned int)(float)((float)v14 * v3), v11); cocos2d::CCNode::runAction(*(cocos2d::CCNode **)(*((_DWORD *)this + 87) + 316), v7); result = *(cocos2d::CCNode **)(*((_DWORD *)this + 87) + 320); if ( result ) { cocos2d::CCNode::stopAllActions(result); v9 = (cocos2d::CCAction *)cocos2d::CCTintTo::create( (cocos2d::CCTintTo *)0x40800000, COERCE_FLOAT((unsigned __int8)(unsigned int)(float)v13[0]), (unsigned int)(float)v13[1], (unsigned int)(float)v14, v12); return (cocos2d::CCNode *)cocos2d::CCNode::runAction(*(cocos2d::CCNode **)(*((_DWORD *)this + 87) + 320), v9); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source