//
// FLAlertLayer::onBtn1 from 0x2eab98 to 0x2eabcc (52 bytes)
//
// 1 xrefs:
// > FLAlertLayer::keyBackClicked @ 0x2eac26
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void FLAlertLayer::onBtn1(FLAlertLayer *a1, cocos2d::CCObject *a2)
{
cocos2d::CCDirector *v3; // r0
cocos2d::CCTouchDispatcher *v4; // r0
FLAlertLayerProtocol *m_alertProtocol; // r0
v3 = cocos2d::CCDirector::sharedDirector();
v4 = v3->getTouchDispatcher(v3);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1);
m_alertProtocol = a1->m_alertProtocol;
if ( m_alertProtocol )
m_alertProtocol->FLAlert_Clicked(m_alertProtocol, a1, 0);
a1->removeFromParentAndCleanup(a1, 1);
}