//
// LevelBadgePopup::ccTouchBegan from 0x100502ce4 to 0x100502d7c (152 bytes)
//
// 2 xrefs:
// > sub_100502D7C @ 0x100502d80
// > ??> @ 0x100996800
//
// 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:54 +0000
//
__int64 __fastcall LevelBadgePopup::ccTouchBegan(float *a1, float32x2_t *a2, __int64 a3)
{
__int64 v6; // x20
float v8; // [xsp+8h] [xbp-28h] BYREF
cocos2d::CCTouch::getLocation(a2, &v8);
if ( sub_1000265E4(a1 + 170, &v8) )
return FLAlertLayer::ccTouchBegan((__int64)a1, (__int64)a2, a3);
(*(void (__fastcall **)(float *, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0);
v6 = 1;
(*(void (__fastcall **)(float *, __int64))(*(_QWORD *)a1 + 528LL))(a1, 1);
return v6;
}