//
// cocos2d::CCMenuItemLabel::selected from 0x18005d480 to 0x18005d513 (147 bytes)
//
// 7 xrefs:
// > ??> @ 0x1800fde80
// > ??> @ 0x1800fe2d8
// > ??> @ 0x1800fe730
// > ??> @ 0x180141ec4
// > ??> @ 0x180141ed4
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bd0b4
//
// This function is hookable on this platform (idp: pc, 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 11:21:49 +0000
//
void __fastcall cocos2d::CCMenuItemLabel::selected(cocos2d::CCMenuItemLabel *this)
{
struct cocos2d::CCAction *ActionByTag; // rax
struct cocos2d::CCAction *v3; // rbx
if ( *((_BYTE *)this + 345) )
{
*((_BYTE *)this + 344) = 1;
ActionByTag = cocos2d::CCNode::getActionByTag((cocos2d::CCActionManager **)this, 0xC0C05002);
if ( ActionByTag )
cocos2d::CCNode::stopAction((cocos2d::CCActionManager **)this, ActionByTag);
else
*((float *)this + 99) = (*(float (__fastcall **)(cocos2d::CCMenuItemLabel *))(*(_QWORD *)this + 168LL))(this);
v3 = cocos2d::CCScaleTo::create(0.1, *((float *)this + 99) * 1.2);
(*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v3 + 64LL))(v3, 3233828866LL);
cocos2d::CCNode::runAction((cocos2d::CCActionManager **)this, v3);
}
}