//
// DropdownListPopup::ccTouchCancelled from 0x1004c3ab0 to 0x1004c3b20 (112 bytes)
//
// 2 xrefs:
// > sub_1004C3B20 @ 0x1004c3b24
// > ??> @ 0x1009850f0
//
// 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 11:06:21 +0000
//
__int64 __fastcall DropdownListPopup::ccTouchCancelled(__int64 a1, __int64 a2, __int64 a3)
{
__int64 result; // x0
result = *(_QWORD *)(a1 + 720);
if ( result )
result = sub_100525990(result, a2);
if ( *(_BYTE *)(a1 + 728) == 1 )
{
result = *(_QWORD *)(a1 + 712);
if ( result || (result = *(_QWORD *)(a1 + 552)) != 0 )
result = (*(__int64 (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)result + 920LL))(result, a2, a3);
*(_BYTE *)(a1 + 728) = 0;
}
return result;
}