//
// FLAlertLayer::ccTouchEnded from 0x2eae42 to 0x2eae84 (66 bytes)
//
// 2 xrefs:
// > `non-virtual thunk to'FLAlertLayer::ccTouchEnded @ 0x2eae88
// > CreateParticlePopup::ccTouchEnded @ 0x52f2d2
//
// 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::ccTouchEnded(FLAlertLayer *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)
{
int m_nId; // r3
m_nId = a2->m_nId;
if ( a1->m_joystickConnected == m_nId )
{
((void (__fastcall *)(cocos2d::CCMenu *))a1->m_buttonMenu->ccTouchEnded)(a1->m_buttonMenu);
a1->m_joystickConnected = -1;
}
else if ( a1->m_controlConnected == m_nId )
{
((void (__fastcall *)(ScrollingLayer *))a1->m_scrollingLayer->ccTouchEnded)(a1->m_scrollingLayer);
a1->m_controlConnected = -1;
}
}