//
// DropdownListPopup::ccTouchEnded from 0x7770be to 0x777106 (72 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'DropdownListPopup::ccTouchEnded @ 0x77710a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:59:20 +0000
//
int __fastcall DropdownListPopup::ccTouchEnded(int a1, cocos2d::CCTouch *a2)
{
int result; // r0
int v4; // r7
int v5; // r3
int (*v6)(void); // r3
result = *(_DWORD *)(a1 + 548);
if ( result )
{
v4 = *(unsigned __int8 *)(result + 376);
result = ScrollableContentLayer::handleTouchEnded(result, a2);
}
else
{
v4 = 0;
}
if ( *(_BYTE *)(a1 + 552) )
{
result = *(_DWORD *)(a1 + 544);
if ( result || (result = *(_DWORD *)(a1 + 444)) != 0 )
{
v5 = *(_DWORD *)result;
if ( v4 )
v6 = *(int (**)(void))(v5 + 460);
else
v6 = *(int (**)(void))(v5 + 456);
result = v6();
}
*(_BYTE *)(a1 + 552) = 0;
}
return result;
}