//
// FLAlertLayer::onBtn1 from 0x1400529b0 to 0x140052a02 (82 bytes)
//
// 2 xrefs:
// > FLAlertLayer::init @ 0x140052572
// > ??> @ 0x1406c4e48
//
// 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)
{
__int64 v3; // rax
cocos2d::CCTouchDispatcher *v4; // rax
_BOOL8 v5; // rdx
FLAlertLayerProtocol *m_alertProtocol; // rcx
v3 = cocos2d::CCDirector::sharedDirector(a1, a2);
v4 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 144LL))(v3);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1);
m_alertProtocol = a1->m_alertProtocol;
if ( m_alertProtocol )
m_alertProtocol->FLAlert_Clicked(m_alertProtocol, a1, 0);
LOBYTE(v5) = 1;
a1->removeFromParentAndCleanup(a1, v5);
}