//
// SetGroupIDLayer::ccTouchEnded from 0xab8f4c to 0xab8ff0 (164 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'SetGroupIDLayer::ccTouchEnded @ 0xab8ff4
// > ??> @ 0x73e88
// > ??> @ 0x14a9640
//
// 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 13:01:00 +0000
//
__int64 __fastcall SetGroupIDLayer::ccTouchEnded(__int64 a1, cocos2d::CCTouch *a2, __int64 a3)
{
__int64 v5; // x2
int v7; // w22
v5 = *(_QWORD *)(a1 + 832);
if ( !v5 )
{
if ( !*(_BYTE *)(a1 + 848) )
return FLAlertLayer::ccTouchEnded(a1, (__int64)a2);
goto LABEL_7;
}
v7 = *(unsigned __int8 *)(v5 + 480);
ScrollableContentLayer::handleTouchEnded(*(_QWORD *)(a1 + 832), a2);
if ( *(_BYTE *)(a1 + 848) )
{
if ( v7 )
{
(*(void (__fastcall **)(_QWORD, cocos2d::CCTouch *, __int64))(**(_QWORD **)(a1 + 840) + 920LL))(
*(_QWORD *)(a1 + 840),
a2,
a3);
*(_BYTE *)(a1 + 848) = 0;
return FLAlertLayer::ccTouchEnded(a1, (__int64)a2);
}
LABEL_7:
(*(void (__fastcall **)(_QWORD, cocos2d::CCTouch *, __int64))(**(_QWORD **)(a1 + 840) + 912LL))(
*(_QWORD *)(a1 + 840),
a2,
a3);
*(_BYTE *)(a1 + 848) = 0;
}
return FLAlertLayer::ccTouchEnded(a1, (__int64)a2);
}