//
// FLAlertLayer::onBtn2 from 0x140052a10 to 0x140052a62 (82 bytes)
//
// 2 xrefs:
// > FLAlertLayer::init @ 0x1400525ef
// > ??> @ 0x1406c4e54
//
// 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::onBtn2(FLAlertLayer *a1, cocos2d::CCObject *a2)
{
__int64 v3; // rax
cocos2d::CCTouchDispatcher *v4; // rax
_BOOL8 v5; // rdx
_BOOL8 v6; // r8
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 )
{
LOBYTE(v6) = 1;
m_alertProtocol->FLAlert_Clicked(m_alertProtocol, a1, v6);
}
LOBYTE(v5) = 1;
a1->removeFromParentAndCleanup(a1, v5);
}