// // cocos2d::CCMenuItemLabel::selected from 0x1003bf170 to 0x1003bf1fb (139 bytes) // // 3 xrefs: // > @ 0x10092bd98 // > @ 0x10092cc98 // > @ 0x10092d180 // // 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 __fastcall cocos2d::CCMenuItemLabel::selected(cocos2d::CCMenuItemLabel *a1) { cocos2d::CCAction *ActionByTag; // rax float v2; // xmm1_4 double v3; // xmm0_8 cocos2d::CCScaleTo *v4; // r14 if ( a1->m_bEnabled ) { a1->m_bSelected = 1; ActionByTag = cocos2d::CCNode::getActionByTag(a1, -1061138430); if ( ActionByTag ) { cocos2d::CCNode::stopAction(a1, ActionByTag); v2 = *(float *)&a1[1].m_uReference; } else { v3 = ((double (__fastcall *)(cocos2d::CCMenuItemLabel *))a1->getScale)(a1); v2 = *(float *)&v3; a1[1].m_uReference = LODWORD(v3); } v4 = cocos2d::CCScaleTo::create_1(0.1, v2 * 1.2); ((void (__fastcall *)(cocos2d::CCScaleTo *, __int64))v4->setTag)(v4, 3233828866LL); cocos2d::CCNode::runAction(a1, v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source