//
// DropdownListPopup::ccTouchBegan from 0x1004c3854 to 0x1004c38f8 (164 bytes)
//
// 2 xrefs:
// > sub_1004C3954 @ 0x1004c3958
// > ??> @ 0x1009850d8
//
// 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 11:06:21 +0000
//
bool __fastcall DropdownListPopup::ccTouchBegan(__int64 a1, float32x2_t *a2, __int64 a3)
{
__int64 v6; // x0
__int64 v7; // x0
float v9; // [xsp+8h] [xbp-28h] BYREF
cocos2d::CCTouch::getLocation(a2, &v9);
if ( sub_1000265E4((float *)(a1 + 864), &v9) )
{
v6 = *(_QWORD *)(a1 + 720);
if ( v6 )
sub_100525210(v6, a2);
v7 = *(_QWORD *)(a1 + 712);
if ( v7 || (v7 = *(_QWORD *)(a1 + 552)) != 0 )
LOBYTE(v7) = (*(__int64 (__fastcall **)(__int64, float32x2_t *, __int64))(*(_QWORD *)v7 + 896LL))(v7, a2, a3);
*(_BYTE *)(a1 + 728) = v7;
return 1;
}
else
{
sub_1004C38F8(a1);
return sub_1000265E4((float *)(a1 + 880), &v9);
}
}