//
// DropdownListPopup::ccTouchMoved from 0xcb5fd4 to 0xcb6084 (176 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'DropdownListPopup::ccTouchMoved @ 0xcb6088
// > ??> @ 0x100510
// > ??> @ 0x14f99c8
//
// 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::ccTouchMoved(__int64 a1, cocos2d::CCTouch *a2, __int64 a3)
{
ScrollableContentLayer *v5; // x0
__int64 result; // x0
v5 = *(ScrollableContentLayer **)(a1 + 720);
if ( v5
&& (ScrollableContentLayer::handleTouchMoved(v5, a2),
(unsigned __int8)ScrollableContentLayer::consumePendingCancel(*(ScrollableContentLayer **)(a1 + 720))) )
{
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 *, __int64))(*(_QWORD *)result + 920LL))(
result,
a2,
a3);
*(_BYTE *)(a1 + 728) = 0;
}
else
{
*(_BYTE *)(a1 + 728) = 0;
}
}
}
else
{
result = *(unsigned __int8 *)(a1 + 728);
if ( *(_BYTE *)(a1 + 728) )
{
result = *(_QWORD *)(a1 + 712);
if ( result )
return (*(__int64 (__fastcall **)(__int64, cocos2d::CCTouch *))(*(_QWORD *)result + 904LL))(result, a2);
result = *(_QWORD *)(a1 + 552);
if ( result )
return (*(__int64 (__fastcall **)(__int64, cocos2d::CCTouch *))(*(_QWORD *)result + 904LL))(result, a2);
}
}
return result;
}