//
// cocos2d::CCLayer::keyMenuClicked from 0x180050530 to 0x180050567 (55 bytes)
//
// 8 xrefs:
// > ??> @ 0x1800ed368
// > ??> @ 0x1800ed828
// > ??> @ 0x1800edd78
// > ??> @ 0x1800ee350
// > ??> @ 0x1800ee8a0
// > ??> @ 0x1800f7180
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b1fc8
//
// 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::CCLayer::keyMenuClicked(cocos2d::CCLayer *this)
{
struct cocos2d::CCScriptEngineManager *v2; // rax
if ( *(_QWORD *)&this->m_unknown2 )
{
v2 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, char *, __int64))(**(_QWORD **)v2 + 120LL))(*(_QWORD *)v2, (char *)this - 336, 2);
}
}