//
// cocos2d::CCMenu::itemForTouch from 0xaf20b8 to 0xaf20fc (68 bytes)
//
// 3 xrefs:
// > cocos2d::CCMenu::ccTouchBegan @ 0xaf2188
// > cocos2d::CCMenu::ccTouchMoved @ 0xaf21c4
// > ??> @ 0x87690
//
// 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
//
cocos2d::CCMenuItem *cocos2d::CCMenu::itemForTouch(cocos2d::CCMenu *a1, cocos2d::CCTouch *a2)
{
cocos2d::CCMenuItem *result; // x0
result = cocos2d::CCMenu::itemForTouch(a1, a2, 0);
if ( !result )
return cocos2d::CCMenu::itemForTouch(a1, a2, 1u);
return result;
}