//
// cocos2d::CCMenu::itemForTouch from 0x18005b610 to 0x18005b646 (54 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bcdf0
//
// 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
//
struct cocos2d::CCMenuItem *__fastcall cocos2d::CCMenu::itemForTouch(
cocos2d::CCMenu *this,
struct cocos2d::CCTouch *a2)
{
struct cocos2d::CCMenuItem *result; // rax
result = cocos2d::CCMenu::itemForTouch(this, a2, 0);
if ( !result )
return cocos2d::CCMenu::itemForTouch(this, a2, 1);
return result;
}