// // FLAlertLayer::onBtn2 from 0x1002aca48 to 0x1002acaa8 (96 bytes) // // 4 xrefs: // > FLAlertLayer::keyDown @ 0x1002acab8 // > FLAlertLayer::keyDown @ 0x1002acac8 // > FLAlertLayer::keyBackClicked @ 0x1002acb24 // > FLAlertLayer::init @ 0x1002ac67c // // 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::onBtn2(FLAlertLayer *a1, cocos2d::CCObject *a2) { cocos2d::CCDirector *v3; // x0 cocos2d::CCTouchDispatcher *v4; // x0 FLAlertLayerProtocol *m_alertProtocol; // x0 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 *, __int64))m_alertProtocol->FLAlert_Clicked)( m_alertProtocol, a1, 1); ((void (__fastcall *)(FLAlertLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1); }