//
// cocos2d::CCMenu::itemForTouch_1 from 0x100270a3c to 0x100270a80 (68 bytes)
//
// 2 xrefs:
// > cocos2d::CCMenu::ccTouchBegan @ 0x1002709f8
// > cocos2d::CCMenu::ccTouchMoved @ 0x100270b88
//
// This function is hookable on this platform (idp: arm, 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:01:46 +0000
//
__int64 __fastcall cocos2d::CCMenu::itemForTouch_1(__int64 a1, __int64 a2)
{
__int64 result; // x0
result = cocos2d::CCMenu::itemForTouch(a1, a2, 0);
if ( !result )
return cocos2d::CCMenu::itemForTouch(a1, a2, 1);
return result;
}