//
// SetGroupIDLayer::ccTouchBegan from 0x6394e8 to 0x639524 (60 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SetGroupIDLayer::ccTouchBegan @ 0x639528
//
// 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:55:23 +0000
//
int __fastcall SetGroupIDLayer::ccTouchBegan(int a1, cocos2d::CCTouch *a2, int a3)
{
ScrollableContentLayer *v4; // r0
int v7; // r0
int v8; // r4
int result; // r0
v4 = *(ScrollableContentLayer **)(a1 + 632);
if ( v4 )
ScrollableContentLayer::handleTouchBegan(v4, a2);
v7 = *(_DWORD *)(a1 + 636);
if ( v7 )
v7 = (*(int (__fastcall **)(int, cocos2d::CCTouch *, int))(*(_DWORD *)v7 + 448))(v7, a2, a3);
v8 = v7;
result = FLAlertLayer::ccTouchBegan((_DWORD *)a1, (int)a2, a3);
*(_BYTE *)(a1 + 640) = v8;
if ( v8 )
return 1;
return result;
}