// // MenuGameLayer::updateColor from 0x7da12c to 0x7da264 (312 bytes) // // 4 xrefs: // > MenuGameLayer::init @ 0x7db300 // > @ 0xdc2a0 // > MenuGameLayer::init @ 0x7db2f0 // > @ 0x15469b8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:54:23 +0000 // cocos2d::CCNode *__fastcall MenuGameLayer::updateColor(MenuGameLayer *this, float a2) { int BGColor; // w1 cocos2d::CCNode *v4; // x0 unsigned __int8 v5; // w3 cocos2d::CCAction *v6; // x0 __int64 v7; // x0 float v8; // s8 unsigned __int8 v9; // w3 cocos2d::CCAction *v10; // x0 cocos2d::CCNode *result; // x0 unsigned __int8 v12; // w3 cocos2d::CCAction *v13; // x0 __int16 v14; // [xsp+58h] [xbp+58h] unsigned __int8 v15; // [xsp+5Ah] [xbp+5Ah] BGColor = MenuGameLayer::getBGColor(this, *((_DWORD *)this + 104)); v4 = *((cocos2d::CCNode **)this + 55); ++*((_DWORD *)this + 104); v14 = BGColor; v15 = BYTE2(BGColor); cocos2d::CCNode::stopAllActions(v4); v6 = (cocos2d::CCAction *)cocos2d::CCTintTo::create( (cocos2d::CCTintTo *)(unsigned __int8)v14, 4.0, HIBYTE(v14), v15, v5); cocos2d::CCNode::runAction(*((cocos2d::CCNode **)this + 55), v6); v7 = *((_QWORD *)this + 56); if ( *(_QWORD *)(v7 + 416) ) v8 = 0.6; else v8 = 0.8; cocos2d::CCNode::stopAllActions(*(cocos2d::CCNode **)(v7 + 408)); v10 = (cocos2d::CCAction *)cocos2d::CCTintTo::create( (cocos2d::CCTintTo *)(unsigned int)(float)(v8 * (float)(unsigned __int8)v14), 4.0, (unsigned int)(float)(v8 * (float)HIBYTE(v14)), (unsigned int)(float)(v8 * (float)v15), v9); cocos2d::CCNode::runAction(*(cocos2d::CCNode **)(*((_QWORD *)this + 56) + 408LL), v10); result = *(cocos2d::CCNode **)(*((_QWORD *)this + 56) + 416LL); if ( result ) { cocos2d::CCNode::stopAllActions(result); v13 = (cocos2d::CCAction *)cocos2d::CCTintTo::create( (cocos2d::CCTintTo *)(unsigned int)(float)(unsigned __int8)v14, 4.0, (unsigned int)(float)HIBYTE(v14), (unsigned int)(float)v15, v12); return (cocos2d::CCNode *)cocos2d::CCNode::runAction(*(cocos2d::CCNode **)(*((_QWORD *)this + 56) + 416LL), v13); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source