// // cocos2d::CCMenuItemLabel::selected from 0xaf3cb4 to 0xaf3d58 (164 bytes) // // 4 xrefs: // > @ 0xb7720 // > @ 0x120edb8 // > @ 0x120f288 // > @ 0x120fc08 // // 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 cocos2d::CCMenuItemLabel::selected(cocos2d::CCMenuItemLabel *a1) { cocos2d::CCAction *ActionByTag; // x1 cocos2d::CCScaleTo *v3; // x0 float v4; // s1 cocos2d::CCAction *v5; // x20 if ( a1->m_bEnabled ) { cocos2d::CCMenuItem::selected(a1); ActionByTag = cocos2d::CCNode::getActionByTag(a1, -1061138430); if ( ActionByTag ) { cocos2d::CCNode::stopAction(a1, ActionByTag); v4 = *(float *)&a1[1].m_uReference; } else { v4 = a1->getScale(a1); *(float *)&a1[1].m_uReference = v4; } v5 = (cocos2d::CCAction *)cocos2d::CCScaleTo::create(v3, 0.1, v4 * 1.2); v5->setTag(v5, -1061138430); cocos2d::CCNode::runAction(a1, v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source