//
// CCTextInputMenu::ccTouchBegan from 0x3dba34 to 0x3dba72 (62 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'CCTextInputMenu::ccTouchBegan @ 0x3dba7c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:46:47 +0000
//
int __fastcall CCTextInputMenu::ccTouchBegan(int a1, int a2, int a3, int a4)
{
int v5; // r5
_DWORD v7[3]; // [sp+4h] [bp-Ch] BYREF
v7[0] = a2;
v7[1] = a3;
v7[2] = a4;
cocos2d::CCTouch::getLocation((cocos2d::CCTouch *)v7);
v5 = cocos2d::CCRect::containsPoint((cocos2d::CCRect *)(a1 + 320), (const cocos2d::CCPoint *)v7);
if ( !v5 )
CCTextInputNode::closeEditMenu(*(CCTextInputNode **)(a1 + 316));
return v5;
}