//
// CCTextInputMenu::ccTouchBegan from 0x100078e00 to 0x100078e4a (74 bytes)
//
// 1 xrefs:
// > ??> @ 0x100aba8c8
//
// 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 12:19:58 +0000
//
__int64 __fastcall CCTextInputMenu::ccTouchBegan(__int64 a1, __int64 a2)
{
__int64 v2; // rax
__int64 result; // rax
unsigned int v4; // ebx
_QWORD v5[4]; // [rsp+0h] [rbp-20h] BYREF
v5[0] = v2;
cocos2d::CCTouch::getLocation((__int64)v5, a2);
result = sub_100278940(a1 + 416, v5);
if ( !(_BYTE)result )
{
v4 = result;
sub_100065820(*(_QWORD *)(a1 + 408));
return v4;
}
return result;
}