//
// DropdownListPopup::ccTouchBegan from 0x7772a0 to 0x77731c (124 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'DropdownListPopup::ccTouchBegan @ 0x777324
//
// 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::ccTouchBegan(int a1, cocos2d::CCTouch *a2, int a3)
{
int v6; // r6
ScrollableContentLayer *v7; // r0
int v8; // r0
_BYTE v10[8]; // [sp+4h] [bp+0h] BYREF
cocos2d::CCTouch::getLocation((cocos2d::CCTouch *)v10);
v6 = cocos2d::CCRect::containsPoint((cocos2d::CCRect *)(a1 + 636), (const cocos2d::CCPoint *)v10);
if ( v6 )
{
v7 = *(ScrollableContentLayer **)(a1 + 548);
if ( v7 )
ScrollableContentLayer::handleTouchBegan(v7, a2);
v8 = *(_DWORD *)(a1 + 544);
if ( v8 || (v8 = *(_DWORD *)(a1 + 444)) != 0 )
LOBYTE(v8) = (*(int (__fastcall **)(int, cocos2d::CCTouch *, int))(*(_DWORD *)v8 + 448))(v8, a2, a3);
*(_BYTE *)(a1 + 552) = v8;
}
else
{
DropdownListPopup::closeSelf((DropdownListPopup *)a1);
return cocos2d::CCRect::containsPoint((cocos2d::CCRect *)(a1 + 652), (const cocos2d::CCPoint *)v10);
}
return v6;
}