//
// cocos2d::CCMenuItemLabel::activate from 0x18005c190 to 0x18005c207 (119 bytes)
//
// 5 xrefs:
// > ??> @ 0x1800fde78
// > ??> @ 0x1800fe2d0
// > ??> @ 0x1800fe728
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bcef8
//
// 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::activate(cocos2d::CCActionManager **this)
{
__int64 v2; // rcx
void (__fastcall *v3)(__int64, cocos2d::CCActionManager **); // rax
struct cocos2d::CCScriptEngineManager *v4; // rax
if ( *((_BYTE *)this + 345) )
{
cocos2d::CCNode::stopAllActions(this);
(*((void (__fastcall **)(cocos2d::CCActionManager **))*this + 20))(this);
if ( *((_BYTE *)this + 345) )
{
v2 = (__int64)*(this + 44);
if ( v2 )
{
v3 = (void (__fastcall *)(__int64, cocos2d::CCActionManager **))*(this + 45);
if ( v3 )
v3(v2, this);
}
if ( *((_DWORD *)this + 75) )
{
v4 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, cocos2d::CCActionManager **))(**(_QWORD **)v4 + 72LL))(*(_QWORD *)v4, this);
}
}
}
}