//
// cocos2d::CCMenuItemToggle::selected from 0x18005d5d0 to 0x18005d601 (49 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800ff468
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bd0fc
//
// 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::CCMenuItemToggle::selected(cocos2d::CCMenuItemToggle *this)
{
unsigned int v1; // edx
struct cocos2d::CCString *v2; // rax
v1 = *((_DWORD *)this + 94);
*((_BYTE *)this + 344) = 1;
v2 = cocos2d::CCArray::stringAtIndex(*((cocos2d::CCArray **)this + 48), v1);
(*(void (__fastcall **)(struct cocos2d::CCString *))(*(_QWORD *)v2 + 896LL))(v2);
}