//
// LevelBadgePopup::ccTouchBegan from 0x747818 to 0x747866 (78 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'LevelBadgePopup::ccTouchBegan @ 0x747870
//
// 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:58:43 +0000
//
int __fastcall LevelBadgePopup::ccTouchBegan(_DWORD *a1, int a2, int a3, int a4)
{
_DWORD v8[3]; // [sp+4h] [bp-Ch] BYREF
v8[0] = a2;
v8[1] = a3;
v8[2] = a4;
cocos2d::CCTouch::getLocation((cocos2d::CCTouch *)v8);
if ( cocos2d::CCRect::containsPoint((cocos2d::CCRect *)(a1 + 133), (const cocos2d::CCPoint *)v8) )
return FLAlertLayer::ccTouchBegan(a1, a2, a3);
LevelBadgePopup::onClose((LevelBadgePopup *)a1, nullptr);
return 1;
}