//
// cocos2d::CCLayer::keyMenuClicked from 0x180052350 to 0x180052387 (55 bytes)
//
// 8 xrefs:
// > ??> @ 0x1800f34c8
// > ??> @ 0x1800f39a8
// > ??> @ 0x1800f3f18
// > ??> @ 0x1800f4510
// > ??> @ 0x1800f4a80
// > ??> @ 0x1800fd5c8
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bc25c
//
// 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:45 +0000
//
void __fastcall cocos2d::CCLayer::keyMenuClicked(cocos2d::CCLayer *this)
{
char *v1; // rbx
struct cocos2d::CCScriptEngineManager *v2; // rax
v1 = (char *)this - 336;
if ( *((_QWORD *)this + 5) )
{
v2 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, char *, __int64))(**(_QWORD **)v2 + 120LL))(*(_QWORD *)v2, v1, 2);
}
}