//
// DropdownListPopup::ccTouchCancelled from 0x140122520 to 0x1401225c0 (160 bytes)
//
// 2 xrefs:
// > ??> @ 0x140732728
// > ??> @ 0x1409166ac
//
// This function is hookable on this platform (idp: pc, 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:26:57 +0000
//
void __fastcall DropdownListPopup::ccTouchCancelled(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v5; // rcx
__int64 v7; // rcx
v5 = *(_QWORD *)(a1 + 400);
if ( v5 && *(_DWORD *)(a2 + 56) == *(_DWORD *)(v5 + 440) )
{
*(_DWORD *)(v5 + 440) = -1;
*(_QWORD *)(v5 + 472) = 0;
*(_WORD *)(v5 + 480) = 0;
*(_BYTE *)(v5 + 508) = 0;
cocos2d::CCNode::unscheduleUpdate((cocos2d::CCNode *)v5);
}
if ( *(_BYTE *)(a1 + 408) )
{
v7 = *(_QWORD *)(a1 + 392);
if ( v7 || (v7 = *(_QWORD *)(a1 + 232)) != 0 )
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)(v7 + 320) + 32LL))(v7 + 320, a2, a3);
*(_BYTE *)(a1 + 408) = 0;
}
}