//
// DropdownListPopup::ccTouchCancelled from 0xcb6128 to 0xcb618c (100 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'DropdownListPopup::ccTouchCancelled @ 0xcb6190
// > ??> @ 0xcdff0
// > ??> @ 0x14f99d8
//
// 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:12 +0000
//
__int64 __fastcall DropdownListPopup::ccTouchCancelled(__int64 a1, cocos2d::CCTouch *a2)
{
__int64 v4; // x0
__int64 result; // x0
v4 = *(_QWORD *)(a1 + 720);
if ( v4 )
ScrollableContentLayer::handleTouchCancelled(v4, a2);
result = *(unsigned __int8 *)(a1 + 728);
if ( *(_BYTE *)(a1 + 728) )
{
result = *(_QWORD *)(a1 + 712);
if ( result || (result = *(_QWORD *)(a1 + 552)) != 0 )
result = (*(__int64 (__fastcall **)(__int64, cocos2d::CCTouch *))(*(_QWORD *)result + 920LL))(result, a2);
*(_BYTE *)(a1 + 728) = 0;
}
return result;
}