//
// DropdownListPopup::ccTouchEnded from 0x140122480 to 0x14012251e (158 bytes)
//
// 2 xrefs:
// > ??> @ 0x140732720
// > ??> @ 0x1409166a0
//
// 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::ccTouchEnded(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v5; // rcx
char v7; // di
__int64 v8; // rax
__int64 v9; // rcx
__int64 v10; // rax
v5 = *(_QWORD *)(a1 + 400);
if ( v5 && *(_BYTE *)(v5 + 480) )
{
v7 = 1;
}
else
{
v7 = 0;
if ( !v5 )
goto LABEL_6;
}
ScrollableContentLayer::handleTouchEnded(v5, a2);
LABEL_6:
if ( *(_BYTE *)(a1 + 408) )
{
v8 = *(_QWORD *)(a1 + 392);
if ( v8 || (v8 = *(_QWORD *)(a1 + 232)) != 0 )
{
v9 = v8 + 320;
v10 = *(_QWORD *)(v8 + 320);
if ( v7 )
(*(void (__fastcall **)(__int64, __int64, __int64))(v10 + 32))(v9, a2, a3);
else
(*(void (__fastcall **)(__int64, __int64, __int64))(v10 + 24))(v9, a2, a3);
}
*(_BYTE *)(a1 + 408) = 0;
}
}