//
// cocos2d::CCMenuItemLabel::selected from 0x18005b470 to 0x18005b500 (144 bytes)
//
// 7 xrefs:
// > ??> @ 0x1800f79f8
// > ??> @ 0x1800f7e40
// > ??> @ 0x1800f8288
// > ??> @ 0x180138c2c
// > ??> @ 0x180138c3c
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b2dfc
//
// 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 *this)
{
struct cocos2d::CCAction *ActionByTag; // rax
struct cocos2d::CCScaleTo *v3; // rbx
if ( this->m_bEnabled )
{
this->m_bSelected = 1;
ActionByTag = cocos2d::CCNode::getActionByTag(this, 0xC0C05002);
if ( ActionByTag )
cocos2d::CCNode::stopAction(this, ActionByTag);
else
*((float *)this + 99) = ((float (__fastcall *)(cocos2d::CCMenuItemLabel *))this->getScale)(this);
v3 = cocos2d::CCScaleTo::create(0.1, *((float *)this + 99) * 1.2);
((void (__fastcall *)(struct cocos2d::CCScaleTo *, __int64))v3->setTag)(v3, 3233828866LL);
cocos2d::CCNode::runAction(this, v3);
}
}