//
// FLAlertLayer::keyBackClicked from 0x10049c130 to 0x10049c1a7 (119 bytes)
//
// 1 xrefs:
// > ??> @ 0x100945300
//
// 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 __fastcall FLAlertLayer::keyBackClicked(FLAlertLayer *a1)
{
bool m_reverseKeyBack; // r14
cocos2d::CCDirector *v3; // rax
cocos2d::CCTouchDispatcher *v4; // rax
FLAlertLayerProtocol *m_alertProtocol; // rdi
((void (__fastcall *)(FLAlertLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);
((void (__fastcall *)(FLAlertLayer *, _QWORD))a1->setKeyboardEnabled)(a1, 0);
m_reverseKeyBack = a1->m_reverseKeyBack;
v3 = cocos2d::CCDirector::sharedDirector();
v4 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v3->getTouchDispatcher)(v3);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1);
m_alertProtocol = a1->m_alertProtocol;
if ( m_alertProtocol )
((void (__fastcall *)(FLAlertLayerProtocol *, FLAlertLayer *, bool))m_alertProtocol->FLAlert_Clicked)(
m_alertProtocol,
a1,
m_reverseKeyBack);
((void (__fastcall *)(FLAlertLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);
}