//
// EditorSFXActionConfigLayer::ccTouchEnded from 0xcbdd40 to 0xcbdde4 (164 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'EditorSFXActionConfigLayer::ccTouchEnded @ 0xcbdde8
// > ??> @ 0x428b0
// > ??> @ 0x14fcab0
//
// 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:06:15 +0000
//
__int64 __fastcall EditorSFXActionConfigLayer::ccTouchEnded(__int64 a1, cocos2d::CCTouch *a2, __int64 a3)
{
__int64 v5; // x2
int v7; // w22
v5 = *(_QWORD *)(a1 + 1048);
if ( !v5 )
{
if ( !*(_BYTE *)(a1 + 1064) )
return FLAlertLayer::ccTouchEnded(a1, (__int64)a2);
goto LABEL_7;
}
v7 = *(unsigned __int8 *)(v5 + 480);
ScrollableContentLayer::handleTouchEnded(*(_QWORD *)(a1 + 1048), a2);
if ( *(_BYTE *)(a1 + 1064) )
{
if ( v7 )
{
(*(void (__fastcall **)(_QWORD, cocos2d::CCTouch *, __int64))(**(_QWORD **)(a1 + 1056) + 920LL))(
*(_QWORD *)(a1 + 1056),
a2,
a3);
*(_BYTE *)(a1 + 1064) = 0;
return FLAlertLayer::ccTouchEnded(a1, (__int64)a2);
}
LABEL_7:
(*(void (__fastcall **)(_QWORD, cocos2d::CCTouch *, __int64))(**(_QWORD **)(a1 + 1056) + 912LL))(
*(_QWORD *)(a1 + 1056),
a2,
a3);
*(_BYTE *)(a1 + 1064) = 0;
}
return FLAlertLayer::ccTouchEnded(a1, (__int64)a2);
}