//
// CCTextInputMenu::ccTouchBegan from 0x6b6b68 to 0x6b6be8 (128 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'CCTextInputMenu::ccTouchBegan @ 0x6b6bec
// > ??> @ 0xa3708
// > ??> @ 0x141f7c0
//
// 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 12:50:52 +0000
//
__int64 __fastcall CCTextInputMenu::ccTouchBegan(__int64 a1, cocos2d::CCTouch *this)
{
unsigned __int8 v3; // w0
unsigned int v4; // w20
__int64 v6; // [xsp+30h] [xbp+30h] BYREF
cocos2d::CCTouch::getLocation(&v6, this);
v3 = cocos2d::CCRect::containsPoint((cocos2d::CCRect *)(a1 + 416), (const cocos2d::CCPoint *)&v6);
v4 = v3;
if ( !v3 )
CCTextInputNode::closeEditMenu(*(CCTextInputNode **)(a1 + 408));
return v4;
}