//
// LevelBadgePopup::ccTouchBegan from 0xc66d54 to 0xc66df8 (164 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'LevelBadgePopup::ccTouchBegan @ 0xc66dfc
// > ??> @ 0xbfcb0
// > ??> @ 0x14ed9a0
//
// 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:05:25 +0000
//
__int64 __fastcall LevelBadgePopup::ccTouchBegan(__int64 a1, cocos2d::CCTouch *this, __int64 a3)
{
__int64 v7; // [xsp+40h] [xbp+40h] BYREF
cocos2d::CCTouch::getLocation(&v7, this);
if ( (unsigned __int8)cocos2d::CCRect::containsPoint((cocos2d::CCRect *)(a1 + 680), (const cocos2d::CCPoint *)&v7) )
return (unsigned __int8)FLAlertLayer::ccTouchBegan(a1, (__int64)this, a3);
LevelBadgePopup::onClose((LevelBadgePopup *)a1, nullptr);
return 1;
}