//
// SetGroupIDLayer::ccTouchBegan from 0x100042970 to 0x1000429f0 (128 bytes)
//
// 2 xrefs:
// > sub_1000429F0 @ 0x1000429f4
// > ??> @ 0x1008b9618
//
// 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 10:57:37 +0000
//
__int64 __fastcall SetGroupIDLayer::ccTouchBegan(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v6; // x0
__int64 v7; // x0
int v8; // w22
int v9; // w0
v6 = *(_QWORD *)(a1 + 832);
if ( v6 )
sub_100525210(v6, a2);
v7 = *(_QWORD *)(a1 + 840);
if ( v7 )
v8 = (*(__int64 (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v7 + 896LL))(v7, a2, a3);
else
v8 = 0;
v9 = FLAlertLayer::ccTouchBegan(a1, a2, a3);
*(_BYTE *)(a1 + 848) = v8;
return (v8 | v9) & 1;
}