//
// cocos2d::CCMenuItemToggle::selected from 0x18005b5b0 to 0x18005b5de (46 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800f8f90
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b2e44
//
// 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::CCMenuItemToggle::selected(cocos2d::CCMenuItemToggle *this)
{
int m_nScriptTapHandler; // edx
struct cocos2d::CCString *v2; // rax
m_nScriptTapHandler = this->m_nScriptTapHandler;
this->m_bSelected = 1;
v2 = cocos2d::CCArray::stringAtIndex(*((cocos2d::CCArray **)this + 48), m_nScriptTapHandler);
((void (__fastcall *)(struct cocos2d::CCString *))v2->__vftable[12].isEqual)(v2);
}